Commit 806f059f authored by Ivan Tyagov's avatar Ivan Tyagov

This check is no longer needed as tested behavior is no longer required and...

This check is no longer needed as tested behavior is no longer required and was removed in previous revisions.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21282 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 47f6d244
......@@ -353,10 +353,6 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional):
self.assertEqual(None, websection._getExtensibleContent(request, document_reference))
self.assertEqual('404 Not Found', request.RESPONSE.getHeader('status'))
# Anonymous user should be prompted to login when viewing non available document
# contained in a Web Page (like ..web_page_module/1/<document_reference>)
self.assertRaises(Unauthorized, webpage._getExtensibleContent, request, document_reference)
# set authorization_forced flag
self.login()
websection.setAuthorizationForced(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment