From: Olivier Lamy Date: Tue, 14 Oct 2014 04:48:05 +0000 (+1100) Subject: [MRM-1145] RSS tests do not correctly check responses X-Git-Tag: archiva-2.2.0~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=655dd53f580c11e4f82842374b86fbe9ce10ddf3;p=archiva.git [MRM-1145] RSS tests do not correctly check responses --- diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java index 194583f51..6ad417ccd 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java @@ -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() );