]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1145] RSS tests do not correctly check responses
authorOlivier Lamy <olamy@apache.org>
Tue, 14 Oct 2014 04:48:05 +0000 (15:48 +1100)
committerOlivier Lamy <olamy@apache.org>
Tue, 14 Oct 2014 04:59:00 +0000 (15:59 +1100)
archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java

index 194583f510f778aff2205ce440e543c321f63bbc..6ad417ccdeeb12732d571f070ba8dc47b233146a 100644 (file)
@@ -469,7 +469,7 @@ public class RssFeedServletTest
 
     }
 
-    @Ignore
+    @Test
     public void testUnauthorizedRequest()
         throws Exception
     {
@@ -479,8 +479,6 @@ public class RssFeedServletTest
         request.addHeader( "User-Agent", "Apache Archiva unit test" );
         request.setMethod( "GET" );
 
-        //WebRequest request = new GetMethodWebRequest( "http://localhost/feeds/unauthorized-repo" );
-
         Base64 encoder = new Base64( 0, new byte[0] );
         String userPass = "user1:password1";
         String encodedUserPass = encoder.encodeToString( userPass.getBytes() );