From 64ddf0657bec9544d5c1410d15ea0d00bff20dd0 Mon Sep 17 00:00:00 2001 From: Claudia Agache Date: Wed, 8 Apr 2020 19:07:33 +0300 Subject: [PATCH] fix the parameter --- .../rest/rm/community/search/SearchRecordsV1CmisTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/SearchRecordsV1CmisTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/SearchRecordsV1CmisTests.java index 050a634a53..323908fac5 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/SearchRecordsV1CmisTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/SearchRecordsV1CmisTests.java @@ -92,7 +92,7 @@ public class SearchRecordsV1CmisTests extends BaseRMRestTest STEP("Create record folder and some records "); RecordCategoryChild recordFolder = createCategoryFolderInFilePlan(); assignFillingPermissionsOnCategory(rmUser, recordFolder.getId(), UserPermissions.PERMISSION_READ_RECORDS, - ROLE_RM_MANAGER); + ROLE_RM_MANAGER.roleId); for (int i = 0; ++i <= 10; ) { createElectronicRecord(recordFolder.getId(), "Record" + SEARCH_TERM + i);