From 0a06f8dba6d43104d6523b8f6605b465c1a554cb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 16 Sep 2025 12:01:40 +0200 Subject: [PATCH] Bug 40708: Fix Circulation/Returns.t Signed-off-by: Jonathan Druart --- 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