diff options
author | Martin Stockhammer <martin_s@apache.org> | 2019-09-28 16:34:10 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2019-09-28 16:34:10 +0200 |
commit | 842ec05b5d9c5ff3bcff0d5052384994a478cc27 (patch) | |
tree | 7a189047a8f58f3fb64295b604186084d7e2d1f1 /archiva-modules/archiva-web | |
parent | 78170d5ed0eb2e517e2be868a83488a6517dc778 (diff) | |
download | archiva-842ec05b5d9c5ff3bcff0d5052384994a478cc27.tar.gz archiva-842ec05b5d9c5ff3bcff0d5052384994a478cc27.zip |
Migrating xml tools to standard API
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/RepositoryServletRepositoryGroupTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/RepositoryServletRepositoryGroupTest.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/RepositoryServletRepositoryGroupTest.java index e8273c485..b634bfd3e 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/RepositoryServletRepositoryGroupTest.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/RepositoryServletRepositoryGroupTest.java @@ -258,7 +258,6 @@ public class RepositoryServletRepositoryGroupTest WebResponse response = getServletUnitClient().getResource( request ); Path returnedMetadata = getProjectBase().resolve( "target/test-classes/retrievedMetadataFile.xml" ); - System.out.println( response.getContentAsString() ); org.apache.archiva.common.utils.FileUtils.writeStringToFile( returnedMetadata, Charset.defaultCharset(), response.getContentAsString() ); ArchivaRepositoryMetadata metadata = MavenMetadataReader.read( returnedMetadata ); @@ -285,7 +284,7 @@ public class RepositoryServletRepositoryGroupTest assertResponseOK( response ); assertThat( response.getContentAsString() ) - .startsWith( "add113b0d7f8c6adb92a5015a7a3701081edf998" ); + .startsWith( "f8a7a858a46887368adf0b30874de1f807d91453" ); // request the md5 checksum of the metadata request = new GetMethodWebRequest( "http://machine.com/repository/" + REPO_GROUP_WITH_VALID_REPOS + "/dummy/" @@ -295,7 +294,7 @@ public class RepositoryServletRepositoryGroupTest assertResponseOK( response ); assertThat( response.getContentAsString() ) - .startsWith( "5b85ea4aa5f52bb76760041a52f98de8" ); + .startsWith( "cec864b66849153dd45fddb7cdde12b2" ); } // MRM-901 |