diff options
author | Olivier Lamy <olamy@apache.org> | 2014-01-06 05:32:16 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-01-06 05:32:16 +0000 |
commit | fc087e3f5ecf5ba27be9a6fc43a31403bc29f926 (patch) | |
tree | 5d0b7cc9f94b29d1fd31ce6795208bcafddaef8b /archiva-modules | |
parent | 91af8c3d5a7cf17c3449c3857f6622168377c536 (diff) | |
download | archiva-fc087e3f5ecf5ba27be9a6fc43a31403bc29f926.tar.gz archiva-fc087e3f5ecf5ba27be9a6fc43a31403bc29f926.zip |
need to override this one too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java index 87162ace7..ed6782e79 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java @@ -514,10 +514,6 @@ public abstract class AbstractRepositoryServletTestCase throws Exception { - //WebClient client = newClient(); - //client.getPage( "http://localhost:" + port + "/reinit/reload" ); - //return client.getPage( "http://localhost:" + port + path ).getWebResponse(); - MockHttpServletRequest request = new MockHttpServletRequest(); request.setRequestURI( webRequest.getUrl().getPath() ); request.addHeader( "User-Agent", "Apache Archiva unit test" ); @@ -554,6 +550,12 @@ public abstract class AbstractRepositoryServletTestCase { return response.getStatus(); } + + @Override + public String getResponseHeaderValue( String headerName ) + { + return response.getHeader( headerName ); + } }; } |