You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2015/02/11 12:44:06 UTC
[2/2] archiva git commit: cleanup
cleanup
Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/af6d9ab5
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/af6d9ab5
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/af6d9ab5
Branch: refs/heads/master
Commit: af6d9ab5c0ff9e84566db82f9988d323d57306ea
Parents: d3f56e2
Author: Olivier Lamy <ol...@apache.org>
Authored: Wed Feb 11 22:43:49 2015 +1100
Committer: Olivier Lamy <ol...@apache.org>
Committed: Wed Feb 11 22:43:49 2015 +1100
----------------------------------------------------------------------
.../DownloadArtifactFromQueryTest.java | 15 ---------------
1 file changed, 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/archiva/blob/af6d9ab5/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactFromQueryTest.java
----------------------------------------------------------------------
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 341d838..559f332 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 )
{