Commit 9774ad11 authored by Jérome Perrin's avatar Jérome Perrin

fixup! erp5_xhtml_style: redirect to portal if unauthorized to show an error

Flush activities before we remove the permission to view document
parent 70cee576
......@@ -632,6 +632,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
"""
module = self.portal.newContent(portal_type='Folder', id='test_error_message')
document_1 = module.newContent(portal_type='Folder', id='1')
self.tic()
# Sanity check : can View document
document_1.view()
......
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