Commit fc99981d authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: (Test) Update local roles one more time

  It is required due the replacement of the ownership.
parent e9de6494
......@@ -493,6 +493,7 @@ class TestOrganisation(TestSlapOSGroupRoleSecurityMixin):
# Test to ensure slapos organisation is well configured by default
organisation = self.portal.organisation_module.slapos
self.changeOwnership(organisation)
organisation.updateLocalRolesOnSecurityGroups()
self.assertSecurityGroup(organisation,
['G-COMPANY', self.user_id, 'R-SHADOW-PERSON', 'R-MEMBER'], False)
self.assertRoles(organisation, 'G-COMPANY', ['Assignor'])
......@@ -2385,4 +2386,4 @@ class TestUpgradeDecision(TestSlapOSGroupRoleSecurityMixin):
self.assertRoles(product, person.getUserId(), ['Assignee'])
self.assertRoles(product, self.user_id, ['Owner'])
\ No newline at end of file
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