From d4d17cdef5940098801be514f4755fb1ac8ead74 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 Content-Type: text/plain; charset=utf-8 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 --- 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.30.2