mirror of https://github.com/apache/archiva.git
using maven 1 legacy generate 404
This commit is contained in:
parent
1ba1188d64
commit
d533e27ab2
|
@ -229,9 +229,7 @@ public class RepositoryServletNoProxyTest
|
|||
//WebRequest request = new GetMethodWebRequest(
|
||||
// "http://machine.com/repository/internal/" + "commons-lang/jars/commons-lang-2.1-SNAPSHOT.jar" );
|
||||
WebResponse response = getWebResponse( "/repository/internal/commons-lang/jars/commons-lang-2.1-SNAPSHOT.jar" );
|
||||
assertResponseOK( response );
|
||||
|
||||
assertEquals( "Expected file contents", expectedArtifactContents, response.getContentAsString() );
|
||||
assertResponseNotFound( response );
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -72,7 +72,7 @@ public class RepositoryServletProxiedRelocatedTest
|
|||
WebResponse response = getServletUnitClient().getResponse( request );
|
||||
|
||||
// --- Verification
|
||||
assertResponseOK( response );
|
||||
assertEquals( "Expected remote file contents", expectedRemoteContents, response.getContentAsString() );
|
||||
assertResponseNotFound( response );
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue