Commit 833a8c11 authored by Jérome Perrin's avatar Jérome Perrin

Test: do not change permissions just for the test

parent de26c7e4
...@@ -113,11 +113,6 @@ class TestDocumentMixin(ERP5TypeTestCase): ...@@ -113,11 +113,6 @@ class TestDocumentMixin(ERP5TypeTestCase):
def setUpOnce(self): def setUpOnce(self):
# set a dummy localizer (because normally it is cookie based) # set a dummy localizer (because normally it is cookie based)
self.portal.Localizer = DummyLocalizer() self.portal.Localizer = DummyLocalizer()
# make sure every body can traverse document module
self.portal.document_module.manage_permission('View', ['Anonymous'], 1)
self.portal.document_module.manage_permission(
'Access contents information', ['Anonymous'], 1)
self.tic()
def afterSetUp(self): def afterSetUp(self):
TestDocumentMixin.login(self) TestDocumentMixin.login(self)
......
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