From fbd50cdb1d02c2d0494edc1ff17f0515fad0ede1 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 11 Feb 2022 15:35:31 -0300 Subject: [PATCH] [STABLE] Bug 30072: (follow-up) Silence useless warning Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Koha/Plugins/Holds_hooks.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/Koha/Plugins/Holds_hooks.t b/t/db_dependent/Koha/Plugins/Holds_hooks.t index 1c9ffdb285..cead13cc82 100755 --- a/t/db_dependent/Koha/Plugins/Holds_hooks.t +++ b/t/db_dependent/Koha/Plugins/Holds_hooks.t @@ -66,6 +66,7 @@ subtest 'after_hold_create() hook tests' => sub { my $test_plugin = Test::MockModule->new('Koha::Plugin::Test'); $test_plugin->mock( 'after_item_action', undef ); $test_plugin->mock( 'after_biblio_action', undef ); + $test_plugin->mock( 'item_barcode_transform', undef ); my $biblio = $builder->build_sample_biblio(); my $item_1 = $builder->build_sample_item( { biblionumber => $biblio->biblionumber } ); -- 2.35.1