Commit 7fe83351 authored by Yoshinori Okuji's avatar Yoshinori Okuji

The user should also be a member.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4017 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aaff9486
...@@ -79,7 +79,7 @@ class TestOrderMixin: ...@@ -79,7 +79,7 @@ class TestOrderMixin:
def login(self, quiet=0, run=run_all_test): def login(self, quiet=0, run=run_all_test):
uf = self.getPortal().acl_users uf = self.getPortal().acl_users
uf._doAddUser('rc', '', ['Manager'], []) uf._doAddUser('rc', '', ['Manager', 'Member'], [])
user = uf.getUserById('rc').__of__(uf) user = uf.getUserById('rc').__of__(uf)
newSecurityManager(None, user) newSecurityManager(None, user)
......
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