From 4c0f293137007e334cb5970523de39f9c54d57ac Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 5 Mar 2024 12:31:12 +0000 Subject: [PATCH] Bug 35100: (follow-up) Fix test Previous patches changed the return values, just needed to update expectations Signed-off-by: Martin Renvoize --- t/db_dependent/SIP/Transaction.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/SIP/Transaction.t b/t/db_dependent/SIP/Transaction.t index f24f8bb90e7..82933a53f1e 100755 --- a/t/db_dependent/SIP/Transaction.t +++ b/t/db_dependent/SIP/Transaction.t @@ -406,13 +406,15 @@ subtest do_checkin => sub { is( $patron->checkouts->count, 0, 'Checkin should have been done successfully' ); my $result = $ci_transaction->do_checkin( $library2->branchcode, undef ); + my $transfer = $item->get_transfer; is( $ci_transaction->alert_type, '04', "Checkin of item no issued at another branch succeeds" ); is_deeply( $result, { messages => { 'NotIssued' => $item->barcode, - 'WasTransfered' => $library->branchcode, + 'WasTransfered' => $transfer->branchtransfer_id, + 'TransferTo' => $library->branchcode, 'TransferTrigger' => 'ReturnToHome' } }, -- 2.39.2