Bug 29387: (QA follow-up) Fix modules in test

Can't locate object method "new" via package "Koha::BackgroundJob::BatchUpdateBiblio" (perhaps you forgot to load "Koha::BackgroundJob::BatchUpdateBiblio"?) at t/db_dependent/Koha/BackgroundJobs/BatchUpdateBiblio.t line 45.

How did it pass at signoff?

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Marcel de Rooy 2021-11-19 07:22:09 +00:00 committed by Jonathan Druart
parent e34fa5b511
commit 5ddb520b96
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ use JSON qw( encode_json decode_json );
use Koha::Database;
use Koha::BackgroundJobs;
use Koha::BackgroundJob::BatchUpdateBiblio;
use Koha::Exceptions::Exception;
use t::lib::TestBuilder;
my $schema = Koha::Database->new->schema;