From f10f41eb946abed09cdf6360c515df4b14acb3a2 Mon Sep 17 00:00:00 2001 From: Marc Johnson Date: Fri, 30 Aug 2019 16:20:47 +0100 Subject: [PATCH] Demonstrate item status remaining unchanged after cancelling awaiting pickup page request CIRC-429 --- .../java/api/requests/scenarios/CancelRequestTests.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/java/api/requests/scenarios/CancelRequestTests.java b/src/test/java/api/requests/scenarios/CancelRequestTests.java index e9e3297912..15a207a1e9 100644 --- a/src/test/java/api/requests/scenarios/CancelRequestTests.java +++ b/src/test/java/api/requests/scenarios/CancelRequestTests.java @@ -15,7 +15,6 @@ import org.folio.circulation.domain.MultipleRecords; import org.folio.circulation.support.http.client.IndividualResource; import org.joda.time.DateTime; -import org.junit.Ignore; import org.junit.Test; import api.support.APITests; @@ -204,9 +203,8 @@ public void canCancelRequestAtTheEndOfTheQueue() * In order for items to appear on the hold shelf clearance report they need * to retain the request fulfilment related status after being cancelled */ - @Ignore("As the fix is being cherry picked this cannot be fixed within the same commit") @Test - public void cancellingAPartiallyFulfilledPageRequestErroneouslyResetsItemStatus() + public void cancellingAPartiallyFulfilledPageRequestShouldNotChangeItemStatus() throws InterruptedException, MalformedURLException, TimeoutException, @@ -228,6 +226,6 @@ public void cancellingAPartiallyFulfilledPageRequestErroneouslyResetsItemStatus( final IndividualResource itemAfterCancellation = itemsClient.get(smallAngryPlanet); - assertThat(itemAfterCancellation, hasItemStatus("Paged")); + assertThat(itemAfterCancellation, hasItemStatus("Awaiting pickup")); } }