You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2009/03/19 04:26:12 UTC

[jira] Commented: (MRM-1145) RSS tests do not correctly check responses

    [ http://jira.codehaus.org/browse/MRM-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170263#action_170263 ] 

Maria Odea Ching commented on MRM-1145:
---------------------------------------

I tried these scenarios with an actual feed reader. The last two scenarios above seems correct as I get prompted for authentication and get a 401 when I provided wrong credentials or when I don't have the necessary permissions to access the repository.

The testInvalidrequest test case seem to be incorrect though, as I am always being prompted to authenticate whenever I request 'http://localhost:8080/archiva/feeds?invalid_param=xxx'

> RSS tests do not correctly check responses
> ------------------------------------------
>
>                 Key: MRM-1145
>                 URL: http://jira.codehaus.org/browse/MRM-1145
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.2-M1
>            Reporter: Brett Porter
>
> there appears to be a bug in the tests:
> testInvalidRequest
> testInvalidAuthenticationRequest
> testUnauthorizedRequest
> They all get a 200 response when expecting an error, and were not correctly checking the response

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira