Commit 3adbb375 authored by Jérome Perrin's avatar Jérome Perrin

the auditor user should not be called "member_user", some other tests have an

user named member_user which only have Member role (like the name suggests).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34787 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f277ca9
...@@ -108,8 +108,8 @@ class TestERP5Base(ERP5TypeTestCase): ...@@ -108,8 +108,8 @@ class TestERP5Base(ERP5TypeTestCase):
def login_as_auditor(self): def login_as_auditor(self):
"""Create a new member user with Auditor role, and login """Create a new member user with Auditor role, and login
""" """
user_name = 'member_user' user_name = 'auditor_user'
user_folder = self.getPortal().acl_users user_folder = self.portal.acl_users
user_folder._doAddUser(user_name, '', ['Member', 'Auditor'], []) user_folder._doAddUser(user_name, '', ['Member', 'Auditor'], [])
user = user_folder.getUserById(user_name).__of__(user_folder) user = user_folder.getUserById(user_name).__of__(user_folder)
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