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';