From af6bfbc89c2efabecf8855eca2a7b7685970e280 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Mon, 7 Nov 2016 20:06:03 -0500 Subject: [PATCH] LP#1640153 Fix abort-transit-copy-status.t perl test. Fixes added by bug 1613374 changed the behavior of canceled transits so that the test written for bug 1306666 stopped working. Accounting for the new "Canceled Transit" status fixes the test. Signed-off-by: Chris Sharp --- Open-ILS/src/perlmods/live_t/19-lp1306666-abort-transit-copy-status.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/live_t/19-lp1306666-abort-transit-copy-status.t b/Open-ILS/src/perlmods/live_t/19-lp1306666-abort-transit-copy-status.t index fdf47d0853..699716cae2 100644 --- a/Open-ILS/src/perlmods/live_t/19-lp1306666-abort-transit-copy-status.t +++ b/Open-ILS/src/perlmods/live_t/19-lp1306666-abort-transit-copy-status.t @@ -196,7 +196,7 @@ $copy = $apputils->simplereq( $authtoken[0], $copy->id() ); -is($copy->status(), OILS_COPY_STATUS_RESHELVING, 'Copy reshelving'); +is($copy->status(), OILS_COPY_STATUS_CANCELED_TRANSIT, 'Copy in Canceled Transit status'); # Check copy in at BR1 $checkin = $apputils->simplereq( @@ -414,7 +414,7 @@ $copy = $apputils->simplereq( $authtoken[0], $copy->id() ); -is($copy->status(), OILS_COPY_STATUS_RESHELVING, 'Copy is reshelving after return transit abort'); +is($copy->status(), OILS_COPY_STATUS_CANCELED_TRANSIT, 'Copy is in Canceled Transit status'); # Logout at BR1. $script->logout($authtoken[0]); -- 2.11.0