mirror of https://github.com/apache/archiva.git
[MRM-1145] RSS tests do not correctly check responses
This commit is contained in:
parent
31cc47c313
commit
655dd53f58
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue