Bug 31896: (QA follow-up) Fix modules
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 28 Oct 2022 08:43:28 +0000 (08:43 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Nov 2022 17:34:54 +0000 (14:34 -0300)
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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Plugins/Recall_hooks.t

index 31d1d13..ee8acbc 100755 (executable)
 # with Koha; if not, see <http://www.gnu.org/licenses>.
 
 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';