diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/records/DeleteRecordTests.java b/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/records/DeleteRecordTests.java index 04213f8417..79fba332fb 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/records/DeleteRecordTests.java +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/records/DeleteRecordTests.java @@ -292,7 +292,6 @@ public class DeleteRecordTests extends BaseRMRestTest * */ @Test (description = "Destroying record doesn't delete the content for the associated copy") - @Ignore @AlfrescoTest (jira = "MNT-20145") public void destroyOfRecord() { @@ -320,8 +319,8 @@ public class DeleteRecordTests extends BaseRMRestTest RecordCategoryChild recFolder = createFolder(recordCategory.getId(), getRandomName("recFolder")); RecordBodyFile recordBodyFile = RecordBodyFile.builder().targetParentId(recFolder.getId()).build(); Record recordFiled = getRestAPIFactory().getRecordsAPI().fileRecord(recordBodyFile, testFile.getNodeRefWithoutVersion()); - getRestAPIFactory().getRecordsAPI().completeRecord(recordFiled.getId()); - assertStatusCode(CREATED); + completeRecord(recordFiled.getId()); + assertStatusCode(OK); STEP("Execute the disposition schedule steps."); rmRolesAndActionsAPI.executeAction(getAdminUser().getUsername(), getAdminUser().getUsername(), recordFiled.getName(), diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/smoke/DispositionScheduleLinkedRecordsTest.java b/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/smoke/DispositionScheduleLinkedRecordsTest.java index d77272eaa5..b1badc40c5 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/smoke/DispositionScheduleLinkedRecordsTest.java +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/smoke/DispositionScheduleLinkedRecordsTest.java @@ -53,7 +53,6 @@ import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.testng.AssertJUnit; import org.testng.annotations.BeforeClass; -import org.testng.annotations.Ignore; import org.testng.annotations.Test; import java.io.IOException; @@ -135,7 +134,6 @@ public class DispositionScheduleLinkedRecordsTest extends BaseRMRestTest { *
TestRail Test C775 **/ @Test - @Ignore @AlfrescoTest(jira = "RM-1622") public void dispositionScheduleLinkedRecords() throws UnsupportedEncodingException { STEP("Create record category"); @@ -202,7 +200,6 @@ public class DispositionScheduleLinkedRecordsTest extends BaseRMRestTest { * When the record is linked to a folder with the same disposition schedule * */ @Test - @Ignore @AlfrescoTest (jira = "RM-3060") public void sameDispositionScheduleLinkedRecords() throws UnsupportedEncodingException { @@ -366,7 +363,6 @@ public class DispositionScheduleLinkedRecordsTest extends BaseRMRestTest { } @Test - @Ignore @AlfrescoTest(jira = "RM-1622") public void sameLevelDispositionScheduleStepsPeriodsCalculation() throws Exception { @@ -419,7 +415,6 @@ public class DispositionScheduleLinkedRecordsTest extends BaseRMRestTest { } @Test (dependsOnMethods = {"sameLevelDispositionScheduleStepsPeriodsCalculation" }) - @Ignore public void deleteLongestPeriodTestPrecondition() { // Delete the RM site getRestAPIFactory().getRMSiteAPI().deleteRMSite();