fix the parameter

This commit is contained in:
Claudia Agache
2020-04-03 16:26:03 +03:00
parent d222954e15
commit 4c4b41bfb8

View File

@@ -119,7 +119,7 @@ public class CmisQueryTests extends BaseRMRestTest
STEP("Create an rm user with read permission over the category created and contributor role within the " +
"collaboration site");
rmUser = getDataUser().createRandomTestUser();
getRestAPIFactory().getRMUserAPI().assignRoleToUser(rmUser.getUsername(), ROLE_RM_MANAGER);
getRestAPIFactory().getRMUserAPI().assignRoleToUser(rmUser.getUsername(), ROLE_RM_MANAGER.roleId);
getRestAPIFactory().getRMUserAPI().addUserPermission(recordFolder.getParentId(), rmUser, UserPermissions.PERMISSION_READ_RECORDS);
getDataUser().addUserToSite(rmUser, collaborationSite, UserRole.SiteContributor);