mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Feature/acs-3579 (#1443)
* Fixed DeleteRecordTests-destroyOfRecord * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags] * [ags]
This commit is contained in:
@@ -292,7 +292,6 @@ public class DeleteRecordTests extends BaseRMRestTest
|
|||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@Test (description = "Destroying record doesn't delete the content for the associated copy")
|
@Test (description = "Destroying record doesn't delete the content for the associated copy")
|
||||||
@Ignore
|
|
||||||
@AlfrescoTest (jira = "MNT-20145")
|
@AlfrescoTest (jira = "MNT-20145")
|
||||||
public void destroyOfRecord()
|
public void destroyOfRecord()
|
||||||
{
|
{
|
||||||
@@ -320,8 +319,8 @@ public class DeleteRecordTests extends BaseRMRestTest
|
|||||||
RecordCategoryChild recFolder = createFolder(recordCategory.getId(), getRandomName("recFolder"));
|
RecordCategoryChild recFolder = createFolder(recordCategory.getId(), getRandomName("recFolder"));
|
||||||
RecordBodyFile recordBodyFile = RecordBodyFile.builder().targetParentId(recFolder.getId()).build();
|
RecordBodyFile recordBodyFile = RecordBodyFile.builder().targetParentId(recFolder.getId()).build();
|
||||||
Record recordFiled = getRestAPIFactory().getRecordsAPI().fileRecord(recordBodyFile, testFile.getNodeRefWithoutVersion());
|
Record recordFiled = getRestAPIFactory().getRecordsAPI().fileRecord(recordBodyFile, testFile.getNodeRefWithoutVersion());
|
||||||
getRestAPIFactory().getRecordsAPI().completeRecord(recordFiled.getId());
|
completeRecord(recordFiled.getId());
|
||||||
assertStatusCode(CREATED);
|
assertStatusCode(OK);
|
||||||
|
|
||||||
STEP("Execute the disposition schedule steps.");
|
STEP("Execute the disposition schedule steps.");
|
||||||
rmRolesAndActionsAPI.executeAction(getAdminUser().getUsername(), getAdminUser().getUsername(), recordFiled.getName(),
|
rmRolesAndActionsAPI.executeAction(getAdminUser().getUsername(), getAdminUser().getUsername(), recordFiled.getName(),
|
||||||
|
@@ -53,7 +53,6 @@ import org.json.JSONObject;
|
|||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.testng.AssertJUnit;
|
import org.testng.AssertJUnit;
|
||||||
import org.testng.annotations.BeforeClass;
|
import org.testng.annotations.BeforeClass;
|
||||||
import org.testng.annotations.Ignore;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@@ -135,7 +134,6 @@ public class DispositionScheduleLinkedRecordsTest extends BaseRMRestTest {
|
|||||||
* <p/> TestRail Test C775<p/>
|
* <p/> TestRail Test C775<p/>
|
||||||
**/
|
**/
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
@AlfrescoTest(jira = "RM-1622")
|
@AlfrescoTest(jira = "RM-1622")
|
||||||
public void dispositionScheduleLinkedRecords() throws UnsupportedEncodingException {
|
public void dispositionScheduleLinkedRecords() throws UnsupportedEncodingException {
|
||||||
STEP("Create record category");
|
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
|
* When the record is linked to a folder with the same disposition schedule
|
||||||
* */
|
* */
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
@AlfrescoTest (jira = "RM-3060")
|
@AlfrescoTest (jira = "RM-3060")
|
||||||
public void sameDispositionScheduleLinkedRecords() throws UnsupportedEncodingException {
|
public void sameDispositionScheduleLinkedRecords() throws UnsupportedEncodingException {
|
||||||
|
|
||||||
@@ -366,7 +363,6 @@ public class DispositionScheduleLinkedRecordsTest extends BaseRMRestTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
@AlfrescoTest(jira = "RM-1622")
|
@AlfrescoTest(jira = "RM-1622")
|
||||||
public void sameLevelDispositionScheduleStepsPeriodsCalculation() throws Exception {
|
public void sameLevelDispositionScheduleStepsPeriodsCalculation() throws Exception {
|
||||||
|
|
||||||
@@ -419,7 +415,6 @@ public class DispositionScheduleLinkedRecordsTest extends BaseRMRestTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test (dependsOnMethods = {"sameLevelDispositionScheduleStepsPeriodsCalculation" })
|
@Test (dependsOnMethods = {"sameLevelDispositionScheduleStepsPeriodsCalculation" })
|
||||||
@Ignore
|
|
||||||
public void deleteLongestPeriodTestPrecondition() {
|
public void deleteLongestPeriodTestPrecondition() {
|
||||||
// Delete the RM site
|
// Delete the RM site
|
||||||
getRestAPIFactory().getRMSiteAPI().deleteRMSite();
|
getRestAPIFactory().getRMSiteAPI().deleteRMSite();
|
||||||
|
Reference in New Issue
Block a user