From 1e2cac21d087ac62507fc7b81daceb44451c356e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 6 May 2025 21:42:07 +0000 Subject: [PATCH] Bug 23260: Adjust the number of tests --- t/db_dependent/Koha/Patrons.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/Patrons.t b/t/db_dependent/Koha/Patrons.t index 299a41cf889..9b4bfd0bfe8 100755 --- a/t/db_dependent/Koha/Patrons.t +++ b/t/db_dependent/Koha/Patrons.t @@ -20,7 +20,7 @@ use Modern::Perl; use Test::NoWarnings; -use Test::More tests => 46; +use Test::More tests => 47; use Test::Warn; use Test::Exception; use Test::MockModule; @@ -1585,7 +1585,7 @@ subtest 'anonymize items_last_borrower' => sub { } ); - my $dbh = C4::Context->dbh; + my $dbh = C4::Context->dbh; my ($returned_1) = C4::Circulation::AddReturn( $item_1->barcode, undef, undef, dt_from_string ); my ($returned_2) = C4::Circulation::AddReturn( $item_2->barcode, undef, undef, dt_from_string ); is( $returned_1 && $returned_2, 1, 'The items should have been returned' ); -- 2.39.5