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>
(cherry picked from commit
9fb827d59d0421b1f3e2de36239cef4c7411c666)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit
26b9c4abac5795194a48aea017630b54e54f0fe5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.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/;
BEGIN {
use Modern::Perl;
use C4::Context;
-use Koha::Schema;
use Test::MockModule;
my %configs;