Commit 6cf099d9 authored by Jérome Perrin's avatar Jérome Perrin

Give all roles to ERP5TypeTestCase user ( see r13357 )



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14034 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f2f07caf
......@@ -548,7 +548,8 @@ def setupERP5Site( business_template_list=(),
if not quiet:
ZopeTestCase._print('\nAdding ERP5TypeTestCase user ... \n')
uf = app.acl_users
uf._doAddUser('ERP5TypeTestCase', '', ['Manager'], [])
uf._doAddUser('ERP5TypeTestCase', '', ['Manager', 'Member', 'Assignee',
'Assignor', 'Author', 'Auditor', 'Associate'], [])
user = uf.getUserById('ERP5TypeTestCase').__of__(uf)
newSecurityManager(None, user)
# Add ERP5 Site
......
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