Commit 3850a1f0 authored by Julien Muchembled's avatar Julien Muchembled

Fix testBug

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29270 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f113980d
...@@ -132,9 +132,12 @@ class TestBug(ERP5TypeTestCase): ...@@ -132,9 +132,12 @@ class TestBug(ERP5TypeTestCase):
for portal_type in portal_type_list: for portal_type in portal_type_list:
ti = portal.portal_types[portal_type] ti = portal.portal_types[portal_type]
ti.addRole('Auditor;Author;Assignee;Assignor,Manager', '', 'Dummy', ti.newContent(portal_type='Role Information',
'', 'group/dummy', 'ERP5Type_getSecurityCategoryFromAssignment', role_name_list=('Auditor','Author','Assignee','Assignor','Manager'),
'') title='Dummy',
role_base_category_script_id=
'ERP5Type_getSecurityCategoryFromAssignment',
role_category='group/dummy')
ti.updateRoleMapping() ti.updateRoleMapping()
transaction.commit() transaction.commit()
......
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