diff options
author | Olivier Lamy <olamy@apache.org> | 2015-02-11 22:43:49 +1100 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2015-02-11 22:43:49 +1100 |
commit | af6d9ab5c0ff9e84566db82f9988d323d57306ea (patch) | |
tree | 01b708fb3f28ce734cd0a53b5ddfcb2d6d1fdb9c | |
parent | d3f56e231eae8ec312a1057da23cca5a943506a7 (diff) | |
download | archiva-af6d9ab5c0ff9e84566db82f9988d323d57306ea.tar.gz archiva-af6d9ab5c0ff9e84566db82f9988d323d57306ea.zip |
cleanup
-rw-r--r-- | archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactFromQueryTest.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactFromQueryTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactFromQueryTest.java index 341d8388e..559f332a6 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactFromQueryTest.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactFromQueryTest.java @@ -137,12 +137,6 @@ public class DownloadArtifactFromQueryTest getSearchService().redirectToArtifactFile( null, "org.apache.archiva", "archiva-test", "1.0", null, null ); - Assert.assertEquals( Response.Status.TEMPORARY_REDIRECT.getStatusCode(), response.getStatus() ); - - //String location = String.class.cast( response.getMetadata().get( "Location" ).get( 0 ) ); - - //Assert.assertEquals( "http://localhost:" + port + "/repository/" + id - // + "/org/apache/archiva/archiva-test/1.0/archiva-test-1.0.jar", location ); } catch ( RedirectionException e ) { @@ -171,15 +165,6 @@ public class DownloadArtifactFromQueryTest getSearchService().redirectToArtifactFile( null, "org.apache.archiva", "archiva-test", "LATEST", null, null ); - Assert.assertEquals( Response.Status.TEMPORARY_REDIRECT.getStatusCode(), response.getStatus() ); - - String location = String.class.cast( response.getMetadata().get( "Location" ).get( 0 ) ); - - /// http://localhost:57168/repository/1400639145722/org/apache/archiva/archiva-test/1.0/archiva-test-1.0.jar - - //Assert.assertEquals( "http://localhost:" + port + "/repository/" + id - // + "/org/apache/archiva/archiva-test/2.0/archiva-test-2.0.jar", location ); - } catch ( RedirectionException e ) { |