code review changes

This commit is contained in:
cagache
2018-06-07 16:35:42 +03:00
parent 39a78c7976
commit 411c23dcd1
2 changed files with 2 additions and 42 deletions

View File

@@ -54,7 +54,7 @@ public class AutomaticDispositionTest extends BaseRMRestTest
/**
* Given there is a complete record eligible for cut off
* When the correct frequency of time passes
* When the correct duration of time passes
* Then the record will be automatically cut off
*/
@Test
@@ -71,8 +71,8 @@ public class AutomaticDispositionTest extends BaseRMRestTest
RecordCategoryChild recordFolder = createRecordFolder(categoryWithRSOnRecords.getId(), getRandomName
("recordFolder"));
STEP("Complete the record and wait upon to 5 minutes for automatic job to execute");
Record record = createElectronicRecord(recordFolder.getId(), getRandomName("elRecord"));
STEP("Complete the record and wait upon to 5 minutes for automatic job to execute");
completeRecord(record.getId());
RecordsAPI recordsAPI = getRestAPIFactory().getRecordsAPI();