From 5717a6d36e1cb21687ff95a2e593f05773b08705 Mon Sep 17 00:00:00 2001 From: jcule Date: Thu, 17 May 2018 22:46:53 +0100 Subject: [PATCH] RM-6310: sc:securityMarksSearch is not properly updated when editing the content classification (affects the results from RM search results): automation test --- .../rest/rm/community/base/BaseRMRestTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java index 5de8128200..38a424db96 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java @@ -591,6 +591,17 @@ public class BaseRMRestTest extends RestTest RecordFolderAPI recordFolderAPI = restAPIFactory.getRecordFolderAPI(); recordFolderAPI.deleteRecordFolder(recordFolderId); } + + /** + * Delete a record + * + * @param recordId the id of the record to delete + */ + public void deleteRecord(String recordId) + { + RecordsAPI recordsAPI = restAPIFactory.getRecordsAPI(); + recordsAPI.deleteRecord(recordId); + } /** * Delete a record category