Bugzilla – Attachment 186470 Details for
Bug 40708
Increase accuracy and accessibility of checkin errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40708: Fix Circulation/Returns.t
Bug-40708-Fix-CirculationReturnst.patch (text/plain), 1.45 KB, created by
Jonathan Druart
on 2025-09-16 10:02:19 UTC
(
hide
)
Description:
Bug 40708: Fix Circulation/Returns.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-09-16 10:02:19 UTC
Size:
1.45 KB
patch
obsolete
>From 0a06f8dba6d43104d6523b8f6605b465c1a554cb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 16 Sep 2025 12:01:40 +0200 >Subject: [PATCH] Bug 40708: Fix Circulation/Returns.t > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Circulation/Returns.t | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Circulation/Returns.t b/t/db_dependent/Circulation/Returns.t >index 7dece48b3aa..e5083acacb3 100755 >--- a/t/db_dependent/Circulation/Returns.t >+++ b/t/db_dependent/Circulation/Returns.t >@@ -314,9 +314,9 @@ subtest 'Handle ids duplication' => sub { > ], > 'DBD should have raised an error about dup primary key'; > >- is( $doreturn, 0, 'Return should not have been done' ); >- is( $messages->{WasReturned}, 0, 'messages should have the WasReturned flag set to 0' ); >- is( $messages->{DataCorrupted}, 1, 'messages should have the DataCorrupted flag set to 1' ); >+ is( $doreturn, 0, 'Return should not have been done' ); >+ is( $messages->{WasReturned}, 0, 'messages should have the WasReturned flag set to 0' ); >+ is( $messages->{DataCorrupted}, 'Duplicate ID', 'messages should have the DataCorrupted flag set to 1' ); > > $account_lines = > Koha::Account::Lines->search( { borrowernumber => $borrower->{borrowernumber}, issue_id => $issue_id } ); >-- >2.34.1
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 40708
:
185911
|
185912
|
185929
|
185943
|
185945
|
186468
|
186469
| 186470