]> source.dussan.org Git - archiva.git/commitdiff
fix new trunk API that snuck in to merge
authorBrett Porter <brett@apache.org>
Mon, 25 Feb 2008 22:35:36 +0000 (22:35 +0000)
committerBrett Porter <brett@apache.org>
Mon, 25 Feb 2008 22:35:36 +0000 (22:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631022 13f79535-47bb-0310-9956-ffa450edef68

archiva-1.0.x/archiva-base/archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ArchivaConfigurationTest.java

index 1c5ddc33c68f5599e365b1b78b1bacece14c8880..623e3e44b4b06a5e16f8761ea1ddcbf6c9ffa6bd 100644 (file)
@@ -652,7 +652,7 @@ public class ArchivaConfigurationTest
         FileUtils.copyFile( getTestFile( "src/test/conf/conf-single-list-elements.xml" ), baseFile );
 
         userFile.getParentFile().mkdirs();
-        FileUtils.writeStringToFile( userFile, "<configuration/>", null );
+        FileUtils.fileWrite( userFile.getAbsolutePath(), "<configuration/>" );
 
         ArchivaConfiguration archivaConfiguration =
             (ArchivaConfiguration) lookup( ArchivaConfiguration.class.getName(), "test-remove-central" );