From 552d8be4db7d7420c9b3e6b0b5f46562757f1543 Mon Sep 17 00:00:00 2001 From: Mason James Date: Wed, 25 Oct 2017 13:41:06 +1300 Subject: [PATCH] Revert "Bug 18996: [16.11.x] use Koha::OldIssues instead of Koha::Old::Checkouts" This reverts commit f7199ade29131803652e8d8fba7996ed6484383a. --- t/db_dependent/SIP/Message.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/SIP/Message.t b/t/db_dependent/SIP/Message.t index 0a324a00a2..a8a11df536 100755 --- a/t/db_dependent/SIP/Message.t +++ b/t/db_dependent/SIP/Message.t @@ -34,7 +34,7 @@ use Koha::AuthUtils qw(hash_password); use Koha::DateUtils; use Koha::Items; use Koha::Checkouts; -use Koha::OldIssues; +use Koha::Old::Checkouts; use Koha::Patrons; use C4::SIP::ILS; @@ -309,7 +309,7 @@ sub test_checkin_v2 { t::lib::Mocks::mock_preference( 'AllowReturnToBranch', 'anywhere' ); # Data corrupted: add same issue_id to old_issues - Koha::OldIssue->new({ issue_id => $issue->issue_id })->store; + Koha::Old::Checkout->new({ issue_id => $issue->issue_id })->store; undef $response; $msg = C4::SIP::Sip::MsgType->new( $siprequest, 0 ); warnings_like { $msg->handle_checkin( $server ); } @@ -320,7 +320,7 @@ sub test_checkin_v2 { check_field( $respcode, $response, FID_SCREEN_MSG, 'Checkin failed: data problem', 'Check screen msg' ); # Finally checkin without problems (remove duplicate id) - Koha::OldIssues->search({ issue_id => $issue->issue_id })->delete; + Koha::Old::Checkouts->search({ issue_id => $issue->issue_id })->delete; undef $response; $msg = C4::SIP::Sip::MsgType->new( $siprequest, 0 ); $msg->handle_checkin( $server ); -- 2.39.5