From 4601061149dd62bcc52e5b18ed49f29b039da5b0 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Tue, 7 Mar 2017 18:17:18 +0200 Subject: [PATCH] Bug 18224 - Cleanup after Buug 14778 Removes unnecessary test context clutter. --- t/Calendar.t | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/t/Calendar.t b/t/Calendar.t index 3082271..3adfc6f 100755 --- a/t/Calendar.t +++ b/t/Calendar.t @@ -42,17 +42,7 @@ use Test::DBIx::Class { connect_info => ['dbi:SQLite:dbname=:memory:','',''], connect_opts => { name_sep => '.', quote_char => '`', }, fixture_class => '::Populate', -}, 'Biblio' ; - -sub fixtures { - my ( $data ) = @_; - fixtures_ok [ - Biblio => [ - [ qw/ biblionumber datecreated timestamp / ], - @$data, - ], - ], 'add fixtures'; -} +}; my $db = Test::MockModule->new('Koha::Database'); $db->mock( -- 2.7.4