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

(-)a/t/Calendar.t (-12 / +1 lines)
Lines 42-58 use Test::DBIx::Class { Link Here
42
    connect_info => ['dbi:SQLite:dbname=:memory:','',''],
42
    connect_info => ['dbi:SQLite:dbname=:memory:','',''],
43
    connect_opts => { name_sep => '.', quote_char => '`', },
43
    connect_opts => { name_sep => '.', quote_char => '`', },
44
    fixture_class => '::Populate',
44
    fixture_class => '::Populate',
45
}, 'Biblio' ;
45
};
46
47
sub fixtures {
48
    my ( $data ) = @_;
49
    fixtures_ok [
50
        Biblio => [
51
            [ qw/ biblionumber datecreated timestamp  / ],
52
            @$data,
53
        ],
54
    ], 'add fixtures';
55
}
56
46
57
my $db = Test::MockModule->new('Koha::Database');
47
my $db = Test::MockModule->new('Koha::Database');
58
$db->mock(
48
$db->mock(
59
- 

Return to bug 18224