mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
fix the parameter
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user