From a85db3a99ba9c366b77a22df491665b13964600d Mon Sep 17 00:00:00 2001 From: James William Dumay Date: Thu, 26 Feb 2009 02:01:10 +0000 Subject: [PATCH] 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 --- .../web/servlet/RepositoryServletRepositoryGroupTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5