]> source.dussan.org Git - archiva.git/commitdiff
move tags into file so it is well formed
authorBrett Porter <brett@apache.org>
Wed, 2 Jul 2008 04:58:03 +0000 (04:58 +0000)
committerBrett Porter <brett@apache.org>
Wed, 2 Jul 2008 04:58:03 +0000 (04:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673279 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/maven/archiva/configuration/ArchivaConfigurationTest.java
archiva-modules/archiva-base/archiva-configuration/src/test/resources/org/apache/maven/archiva/configuration/test-default-archiva.xml

index 75ff15c3a0545212a48db864c91be897e45cc14f..70c88d4d8754d4bd2bd60fd9520988e5e2e9f096 100644 (file)
@@ -99,9 +99,8 @@ public class ArchivaConfigurationTest
         repo = new File( getBasedir(), "/target/test-classes/existing_internal" );
         repo.mkdirs();
         
-        String existingTestDefaultArchivaConfigFile = "<configuration>" +
-            FileUtils.readFileToString( getTestFile( "target/test-classes/org/apache/maven/archiva/configuration/test-default-archiva.xml" ) ) 
-            + "</configuration>";        
+        String existingTestDefaultArchivaConfigFile = 
+            FileUtils.readFileToString( getTestFile( "target/test-classes/org/apache/maven/archiva/configuration/test-default-archiva.xml" ) ) ;        
         existingTestDefaultArchivaConfigFile = StringUtils.replace( existingTestDefaultArchivaConfigFile, "${appserver.base}", getBasedir() );
         
         File generatedTestDefaultArchivaConfigFile =