From 6a9b6a2e001c481aba79d4a16a4fd8af3712250d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Nov 2023 12:11:39 +0100 Subject: [PATCH] Bug 12133: (follow-up) Fix failing tests Tests were still failing # Failed test 'No tests run for subtest "Test where parameter for SendQueuedMessages"' # at t/db_dependent/Letters.t line 1274. [Child patron needs a guarantor]# Looks like your test exited with 11 just after 97. Signed-off-by: Jonathan Druart --- t/db_dependent/Letters.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t index 9f888030b2d..ade28f89ad5 100755 --- a/t/db_dependent/Letters.t +++ b/t/db_dependent/Letters.t @@ -1168,6 +1168,8 @@ subtest 'Test guarantor handling in SendQueuedMessages' => sub { # clear borrower queue Koha::Notice::Messages->find($message_id)->delete; + + t::lib::Mocks::mock_preference( 'ChildNeedsGuarantor', 0 ); }; subtest 'get_item_content' => sub { -- 2.34.1