RM-6865 adding param to test

This commit is contained in:
Ross Gale
2019-06-18 08:57:46 +01:00
parent a736112f0d
commit 3819bbac88
2 changed files with 16 additions and 1 deletions

View File

@@ -237,7 +237,7 @@ public class DeclareAndFileDocumentAsRecordTests extends BaseRMRestTest
{
STEP("Declare document as record with an encoded location parameter value");
getRestAPIFactory().getActionsAPI(userFillingPermission).declareAndFile(testFile,
Utility.buildPath(recordCategory.getName(), RECORD_FOLDER_NAME_ENCODED));
Utility.buildPath(recordCategory.getName(), RECORD_FOLDER_NAME_ENCODED), true);
STEP("Verify the declared record is placed in the record folder");
assertTrue(isMatchingRecordInRecordFolder(testFile, recordFolderWithSpacesInName), "Record should be filed to record folder");