mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM: Fix unit test
* ensure file plan param is provided to create record action * deal with some of the depreaction warnings from recent changes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -83,6 +83,7 @@ public class HideRecordActionTest extends BaseRMTestCase
|
||||
|
||||
// Create a record from that document
|
||||
Action createAction = dmActionService.createAction(CreateRecordAction.NAME);
|
||||
createAction.setParameterValue(CreateRecordAction.PARAM_FILE_PLAN, filePlan);
|
||||
dmActionService.executeAction(createAction, doc);
|
||||
|
||||
// Check if the document is a record now
|
||||
|
Reference in New Issue
Block a user