Skip to content

Commit

Permalink
Demonstrate item status remaining unchanged after cancelling awaiting…
Browse files Browse the repository at this point in the history
… pickup page request CIRC-429
  • Loading branch information
marcjohnson-kint committed Aug 30, 2019
1 parent e8d123f commit f10f41e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/java/api/requests/scenarios/CancelRequestTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand All @@ -228,6 +226,6 @@ public void cancellingAPartiallyFulfilledPageRequestErroneouslyResetsItemStatus(

final IndividualResource itemAfterCancellation = itemsClient.get(smallAngryPlanet);

assertThat(itemAfterCancellation, hasItemStatus("Paged"));
assertThat(itemAfterCancellation, hasItemStatus("Awaiting pickup"));
}
}

0 comments on commit f10f41e

Please sign in to comment.