RM-7099: Update or Ignore Quarantined Tests

- updated DeclareAndFileDocumentAsRecordTests to delete the created hold before delete the created category
This commit is contained in:
Ramona Popa
2020-01-29 14:45:48 +02:00
committed by Rodica Sutu
parent f49b89782a
commit 43dd3413d4

View File

@@ -464,6 +464,7 @@ public class DeclareAndFileDocumentAsRecordTests extends BaseRMRestTest
public void declareAndFileDocumentAsRecordCleanup() public void declareAndFileDocumentAsRecordCleanup()
{ {
//delete rm items //delete rm items
holdsAPI.deleteHold(getAdminUser().getUsername(), getAdminUser().getPassword(), HOLD_NAME);
deleteRecordCategory(recordCategory.getId()); deleteRecordCategory(recordCategory.getId());
getRestAPIFactory().getUnfiledRecordFoldersAPI().deleteUnfiledRecordFolder(unfiledContainerFolder.getId()); getRestAPIFactory().getUnfiledRecordFoldersAPI().deleteUnfiledRecordFolder(unfiledContainerFolder.getId());