removed test as per RM-7061 resolution

This commit is contained in:
cagache
2019-11-20 12:19:11 +02:00
parent 47e669e4e8
commit f98a0fa037

View File

@@ -201,29 +201,6 @@ public class AuditRemoveFromHoldTests extends BaseRMRestTest
ImmutableMap.of("new", "", "previous", HOLD3, "name", "Hold Name")));
}
/**
* Given a not empty hold is deleted
* When I view the audit log
* Then an entry has been created in the audit log for each item removed from that hold
*/
@Test
public void removeFromHoldAuditedWhenHoldIsDeleted()
{
STEP("Add a file to the hold that will be deleted");
holdsAPI.addItemToHold(getAdminUser().getUsername(), getAdminUser().getPassword(),
heldContent.getNodeRefWithoutVersion(), DELETED_HOLD);
rmAuditService.clearAuditLog();
STEP("Delete the hold.");
holdsAPI.deleteHold(rmAdmin.getUsername(), rmAdmin.getPassword(), DELETED_HOLD);
STEP("Check the audit log contains the entry for the remove from hold.");
rmAuditService.checkAuditLogForEvent(getAdminUser(), REMOVE_FROM_HOLD, rmAdmin, heldContent.getName(),
asList(ImmutableMap.of("new", "", "previous", heldContent.getName(), "name", "Name"),
ImmutableMap.of("new", "", "previous", DELETED_HOLD, "name", "Hold Name")));
}
/**
* Given an unsuccessful remove from hold action
* When I view the audit log