From: Chris Sharp Date: Tue, 8 Nov 2016 01:06:03 +0000 (-0500) Subject: LP#1640153 Fix abort-transit-copy-status.t perl test. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2057458553ae292edc4f728fe713768168d05ee3;p=evergreen%2Fmasslnc.git 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 Signed-off-by: Jason Stephenson --- 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]);