[MRM-773]

enabled test for new versions of artifact feed (RssFeedServlet)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655237 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2008-05-11 04:22:05 +00:00
parent 0ad838b410
commit e9411ddc81
2 changed files with 2 additions and 4 deletions

View File

@ -204,7 +204,7 @@ public class RssFeedServlet
{
repoIds.add( req.getParameter( "repoId" ) );
}
else if ( req.getParameter( "artifactId" ) != null && req.getParameter( "version" ) != null )
else if ( req.getParameter( "artifactId" ) != null && req.getParameter( "groupId" ) != null )
{
if ( auth != null )
{

View File

@ -83,7 +83,6 @@ public class RssFeedServletTest
assertEquals( "Should have been an OK response code.", HttpServletResponse.SC_OK, response.getResponseCode() );
}
/*
public void testRequestNewVersionsOfArtifact()
throws Exception
{
@ -104,7 +103,6 @@ public class RssFeedServletTest
assertNotNull( "Should have recieved a response", response );
assertEquals( "Should have been an OK response code.", HttpServletResponse.SC_OK, response.getResponseCode() );
}
*/
public void testInvalidRequest()
throws Exception