]> source.dussan.org Git - archiva.git/commitdiff
Expect 200 instead of a 400
authorJames William Dumay <jdumay@apache.org>
Thu, 26 Feb 2009 02:01:10 +0000 (02:01 +0000)
committerJames William Dumay <jdumay@apache.org>
Thu, 26 Feb 2009 02:01:10 +0000 (02:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-with-new-repoapi@747985 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-repository-servlet/src/test/java/org/apache/archiva/web/servlet/RepositoryServletRepositoryGroupTest.java

index c3402fbdfafd5d4caaa0c1dfe2b8431a59c480b8..6fa1878e50a171a196b22a4dbadd14933ad7db18 100644 (file)
@@ -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