using maven 1 legacy generate 404

This commit is contained in:
Olivier Lamy 2015-02-13 09:42:20 +11:00
parent 1ba1188d64
commit d533e27ab2
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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 );
}
}