From 0fb57fa56a98d814406d3bf66970bf0d5dca6f03 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 28 Oct 2022 08:43:28 +0000 Subject: [PATCH] Bug 31896: (QA follow-up) Fix modules Triggered by seeing Koha::Account. Copy and paste ;) But a bunch of other modules should (at least formally) be there. Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Koha/Plugins/Recall_hooks.t | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/t/db_dependent/Koha/Plugins/Recall_hooks.t b/t/db_dependent/Koha/Plugins/Recall_hooks.t index 31d1d1371a..ee8acbcc8b 100755 --- a/t/db_dependent/Koha/Plugins/Recall_hooks.t +++ b/t/db_dependent/Koha/Plugins/Recall_hooks.t @@ -15,18 +15,20 @@ # with Koha; if not, see . use Modern::Perl; - +use File::Basename; use Test::More tests => 4; use Test::MockModule; use Test::Warn; -use File::Basename; - -use Koha::Account qw( add_credit ); - use t::lib::Mocks; use t::lib::TestBuilder; +use Koha::Database; +use C4::Circulation qw(); +use Koha::CirculationRules; +use Koha::Plugins::Methods; +use Koha::Recalls; + BEGIN { # Mock pluginsdir before loading Plugins module my $path = dirname(__FILE__) . '/../../../lib/plugins'; -- 2.11.0