Bug 40680: Fix TestBuilder
perl -wc misc/devel/create_test_data.pl
Attempt to call undefined import method with arguments ("schema") via package "Koha::Database" (Perhaps you forgot to load the package?) at /kohadevbox/koha/t/lib/TestBuilder.pm line 5.
Attempt to call undefined import method with arguments ("_type") via package "Koha::Biblios" (Perhaps you forgot to load the package?) at /kohadevbox/koha/t/lib/TestBuilder.pm line 7.
Attempt to call undefined import method with arguments ("_type") via package "Koha::Items" (Perhaps you forgot to load the package?) at /kohadevbox/koha/t/lib/TestBuilder.pm line 8.
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7f9e2019a0
commit
38d518c7bf
|
|
@ -2,10 +2,10 @@ package t::lib::TestBuilder;
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
use Koha::Database qw( schema );
|
||||
use C4::Biblio qw( AddBiblio );
|
||||
use Koha::Biblios qw( _type );
|
||||
use Koha::Items qw( _type );
|
||||
use Koha::Database;
|
||||
use C4::Biblio qw( AddBiblio );
|
||||
use Koha::Biblios;
|
||||
use Koha::Items;
|
||||
use Koha::DateUtils qw( dt_from_string );
|
||||
|
||||
use Bytes::Random::Secure;
|
||||
|
|
|
|||
Loading…
Reference in New Issue