diff --git a/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5GroupRoleSecurity.py b/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5GroupRoleSecurity.py index 6fae978e04cc1fe47ea8ec2ea07a2a94a75d1f00..34ef1e550e3a76d976199a7863fe41bd01671cf5 100644 --- a/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5GroupRoleSecurity.py +++ b/master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5GroupRoleSecurity.py @@ -1563,13 +1563,13 @@ class TestSystemEventModule(TestSlapOSGroupRoleSecurityMixin): module = self.portal.system_event_module self.changeOwnership(module) self.assertSecurityGroup(module, - ['R-SHADOW-PERSON', self.user_id, 'G-COMPANY'], False) + ['R-SHADOW-PERSON', self.user_id, 'F-IS*'], False) self.assertRoles(module, 'R-SHADOW-PERSON', ['Author']) - self.assertRoles(module, 'G-COMPANY', ['Auditor', 'Author']) + self.assertRoles(module, 'F-IS*', ['Auditor']) self.assertRoles(module, self.user_id, ['Owner']) class TestPayzenEvent(TestSlapOSGroupRoleSecurityMixin): - def test_GroupCompany(self): + def test_default(self): event = self.portal.system_event_module.newContent( portal_type='Payzen Event') event.updateLocalRolesOnSecurityGroups() @@ -1596,7 +1596,7 @@ class TestPayzenEvent(TestSlapOSGroupRoleSecurityMixin): self.assertRoles(event, self.user_id, ['Owner']) class TestWechatEvent(TestSlapOSGroupRoleSecurityMixin): - def test_GroupCompany(self): + def test_default(self): event = self.portal.system_event_module.newContent( portal_type='Wechat Event') event.updateLocalRolesOnSecurityGroups()