Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
use Module::Load::Conditional qw( can_load check_install );
-use Koha::Schema;
-
BEGIN {
if ( check_install( module => 'Test::DBIx::Class' ) ) {
plan tests => 5;
use t::lib::Mocks;
-use Koha::Schema;
use_ok('C4::Members');
BEGIN {
use DateTime;
use Test::MockModule;
use Test::More tests => 16;
-use Koha::Schema;
use Carp qw/croak carp/;
use Modern::Perl;
use C4::Context;
-use Koha::Schema;
use Test::MockModule;
my %configs;