From 655dd53f580c11e4f82842374b86fbe9ce10ddf3 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 14 Oct 2014 15:48:05 +1100 Subject: [PATCH] [MRM-1145] RSS tests do not correctly check responses --- .../java/org/apache/archiva/web/rss/RssFeedServletTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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() ); -- 2.39.5