From: James William Dumay Date: Thu, 26 Feb 2009 02:01:10 +0000 (+0000) Subject: Expect 200 instead of a 400 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a85db3a99ba9c366b77a22df491665b13964600d;p=archiva.git Expect 200 instead of a 400 git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-with-new-repoapi@747985 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-repository-servlet/src/test/java/org/apache/archiva/web/servlet/RepositoryServletRepositoryGroupTest.java b/archiva-modules/archiva-web/archiva-repository-servlet/src/test/java/org/apache/archiva/web/servlet/RepositoryServletRepositoryGroupTest.java index c3402fbdf..6fa1878e5 100644 --- a/archiva-modules/archiva-web/archiva-repository-servlet/src/test/java/org/apache/archiva/web/servlet/RepositoryServletRepositoryGroupTest.java +++ b/archiva-modules/archiva-web/archiva-repository-servlet/src/test/java/org/apache/archiva/web/servlet/RepositoryServletRepositoryGroupTest.java @@ -218,7 +218,7 @@ public class RepositoryServletRepositoryGroupTest WebResponse response = sc.getResponse( request ); assertNotNull( "Should have received a response", response ); - assertEquals( "Should have been an 401 response code.", HttpServletResponse.SC_UNAUTHORIZED, response.getResponseCode() ); + assertEquals( "Should have been an 200 response code.", HttpServletResponse.SC_OK, response.getResponseCode() ); } // MRM-872