From b7d7a334e367178c52cad4ad6074ce643ffe778b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 7 Apr 2023 13:35:39 +0000 Subject: [PATCH] Bug 32013: Adjust unit tests Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Koha/SearchEngine/Indexer.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/SearchEngine/Indexer.t b/t/db_dependent/Koha/SearchEngine/Indexer.t index 82589fe4dc..4ef8bbcc38 100755 --- a/t/db_dependent/Koha/SearchEngine/Indexer.t +++ b/t/db_dependent/Koha/SearchEngine/Indexer.t @@ -285,9 +285,9 @@ subtest 'Test AddRenewal indexer call' => sub { warnings_are{ AddRenewal($patron->borrowernumber, $item->itemnumber, $item->homebranch, undef, undef, undef, 0); - } [$engine,"Koha::Item"], "index_records is called for $engine when adding a renewal (AddRenewal())"; + } [$engine,"C4::Circulation"], "index_records is called for $engine when adding a renewal (AddRenewal())"; warnings_are{ - AddRenewal($patron->borrowernumber, $item->itemnumber, undef, undef, undef, undef, 0, 1); + AddRenewal($patron->borrowernumber, $item->itemnumber, undef, undef, undef, undef, 0, 1, 1); } undef, "index_records is not called for $engine when adding a renewal (AddRenewal()) with skip_record_index"; }