View | Details | Raw Unified | Return to bug 21015
Collapse All | Expand All

(-)a/t/Koha_ExternalContent_OverDrive.t (-2 lines)
Lines 8-15 use Test::MockModule; Link Here
8
8
9
use Module::Load::Conditional qw( can_load check_install );
9
use Module::Load::Conditional qw( can_load check_install );
10
10
11
use Koha::Schema;
12
13
BEGIN {
11
BEGIN {
14
    if ( check_install( module => 'Test::DBIx::Class' ) ) {
12
    if ( check_install( module => 'Test::DBIx::Class' ) ) {
15
        plan tests => 5;
13
        plan tests => 5;
(-)a/t/Members/cardnumber.t (-1 lines)
Lines 7-13 use Test::MockModule; Link Here
7
7
8
use t::lib::Mocks;
8
use t::lib::Mocks;
9
9
10
use Koha::Schema;
11
use_ok('C4::Members');
10
use_ok('C4::Members');
12
11
13
BEGIN {
12
BEGIN {
(-)a/t/db_dependent/Sitemapper.t (-1 lines)
Lines 23-29 use File::Path; Link Here
23
use DateTime;
23
use DateTime;
24
use Test::MockModule;
24
use Test::MockModule;
25
use Test::More tests => 16;
25
use Test::More tests => 16;
26
use Koha::Schema;
27
use Carp qw/croak carp/;
26
use Carp qw/croak carp/;
28
27
29
28
(-)a/t/lib/Mocks.pm (-2 lines)
Lines 3-9 package t::lib::Mocks; Link Here
3
use Modern::Perl;
3
use Modern::Perl;
4
use C4::Context;
4
use C4::Context;
5
5
6
use Koha::Schema;
7
use Test::MockModule;
6
use Test::MockModule;
8
7
9
my %configs;
8
my %configs;
10
- 

Return to bug 21015