From b6ab2fb2350f830bece0cc52cb3b60b3edce98b0 Mon Sep 17 00:00:00 2001 From: Rodica Sutu Date: Wed, 28 Aug 2019 10:57:13 +0300 Subject: [PATCH] code review updates --- .../hold/PreventActionsOnFrozenContentTests.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/PreventActionsOnFrozenContentTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/PreventActionsOnFrozenContentTests.java index ea9477a65d..a21d2b69f4 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/PreventActionsOnFrozenContentTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/PreventActionsOnFrozenContentTests.java @@ -209,9 +209,9 @@ public class PreventActionsOnFrozenContentTests extends BaseRMRestTest } /** - * Given a record folder with a frozen record and another record not in held + * Given a record folder with a frozen record and another record not held * When I update the record folder and make the records as vital - * Then I am successful and the records not held are mark as vital + * Then I am successful and the records not held are marked as vital * And the frozen nodes have the vital record search properties updated * * @throws Exception @@ -237,13 +237,13 @@ public class PreventActionsOnFrozenContentTests extends BaseRMRestTest assertTrue(updatedRecordFolder.getAspectNames().contains(ASPECTS_VITAL_RECORD_DEFINITION)); - STEP("Check the frozen record was not mark as vital"); + STEP("Check the frozen record was not marked as vital"); recordFrozen = getRestAPIFactory().getRecordsAPI().getRecord(recordFrozen.getId()); assertFalse(recordFrozen.getAspectNames().contains(ASPECTS_VITAL_RECORD)); assertTrue(recordFrozen.getProperties().getRecordSearchVitalRecordReviewPeriod().contains("month")); assertTrue(recordFrozen.getProperties().getRecordSearchVitalRecordReviewPeriodExpression().contains("1")); - STEP("Check the record not held was mark as vital"); + STEP("Check the record not held was marked as vital"); recordNotHeld = getRestAPIFactory().getRecordsAPI().getRecord(recordNotHeld.getId()); assertTrue(recordNotHeld.getAspectNames().contains(ASPECTS_VITAL_RECORD)); assertNotNull(recordNotHeld.getProperties().getReviewAsOf()); @@ -252,7 +252,7 @@ public class PreventActionsOnFrozenContentTests extends BaseRMRestTest } /** - * Given a record folder with a frozen record and another record not in held + * Given a record folder with a frozen record and another record not held * When I add a disposition schedule * Then I am successful * And the record search disposition schedule properties are updated