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:
Roy Wetherall
2013-03-21 07:37:20 +00:00
parent 096c74aaa9
commit cef10a210c
12 changed files with 70 additions and 78 deletions

View File

@@ -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