Bug 38477: (follow-up) Correct failing Item.t test

prove /kohadevbox/koha/t/db_dependent/Koha/Item.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 53a9631335)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Lucas Gass 2025-06-02 23:40:16 +00:00 committed by Paul Derscheid
parent d5707a9ee6
commit 13bff9ff2f
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 4 additions and 1 deletions

View File

@ -2707,7 +2707,10 @@ subtest 'store() tests' => sub {
is( $message_2->type, 'info', 'type is correct' );
is( $message_2->message, 'lost_charge', 'message is correct' );
is( $message_2->payload, undef, 'no payload' );
is_deeply(
$message_2->payload, { patron_id => $patron->borrowernumber },
'payload contains the borrowernumber or is NULL'
);
my $message_3 = $messages->[2];
is( $message_3->message, 'processing_refunded', 'message is correct' );