Commit 7c1bf32a authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Comply with the other tests

   Sometimes the instances where the data is commited, don't have the same user set as the tests.
parent 35d6726f
......@@ -492,7 +492,7 @@ class TestOrganisation(TestSlapOSGroupRoleSecurityMixin):
def test_defaultSlapOSOrganisation(self):
# Test to ensure slapos organisation is well configured by default
organisation = self.portal.organisation_module.slapos
organisation.updateLocalRolesOnSecurityGroups()
self.changeOwnership(organisation)
self.assertSecurityGroup(organisation,
['G-COMPANY', self.user_id, 'R-SHADOW-PERSON', 'R-MEMBER'], False)
self.assertRoles(organisation, 'G-COMPANY', ['Assignor'])
......
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