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 <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
$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(
$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]);