Bugzilla – Attachment 182916 Details for
Bug 38477
Regression: new overdue fine applied incorrectly when using "Refund lost item charge and charge new overdue fine" option in circ rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38477: (follow-up) Correct failing Item.t test
Bug-38477-follow-up-Correct-failing-Itemt-test.patch (text/plain), 1.08 KB, created by
Lucas Gass (lukeg)
on 2025-06-02 23:42:02 UTC
(
hide
)
Description:
Bug 38477: (follow-up) Correct failing Item.t test
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-06-02 23:42:02 UTC
Size:
1.08 KB
patch
obsolete
>From 2c3530ebb6385159f34bf48d8232ef3e554b73f9 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 2 Jun 2025 23:40:16 +0000 >Subject: [PATCH] Bug 38477: (follow-up) Correct failing Item.t test > >prove /kohadevbox/koha/t/db_dependent/Koha/Item.t >--- > t/db_dependent/Koha/Item.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t >index 92b817bf0b3..1ff4f8a9bd1 100755 >--- a/t/db_dependent/Koha/Item.t >+++ b/t/db_dependent/Koha/Item.t >@@ -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' ); >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38477
:
182701
|
182726
|
182727
|
182745
|
182827
|
182828
|
182916
|
182937