[MRM-1145] RSS tests do not correctly check responses

This commit is contained in:
Olivier Lamy 2014-10-14 15:48:05 +11:00
parent 31cc47c313
commit 655dd53f58
1 changed files with 1 additions and 3 deletions

View 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() );