Skip to content
Snippets Groups Projects
Commit 7b1a779f authored by felmer's avatar felmer
Browse files

SSDM-5723: fixing CreateSpacesFromDssSystemTest

SVN: 38871
parent 577c4375
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ def create_space(tr):
def assign_roles_to_space(tr, space):
"""Give the users authorization groups power user privileges on the space"""
service = tr.getAuthorizationService()
groups = service.listAuthorizationGroupsForUser("test")
groups = service.listAuthorizationGroupsForUser("agroup_member")
group_codes = [group.getCode() for group in groups]
tr.assignRoleToSpace(RoleCode.POWER_USER, space, None, group_codes)
......@@ -28,7 +28,7 @@ def assign_users_to_groups(tr, space):
"""Give the users authorization groups power user privileges on the space"""
service = tr.getAuthorizationService()
userId = tr.getUserId()
groups = service.listAuthorizationGroupsForUser("test")
groups = service.listAuthorizationGroupsForUser("agroup_member")
group_codes = [group.getCode() for group in groups]
tr.assignRoleToSpace(RoleCode.POWER_USER, space, None, group_codes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment