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

(-)a/t/db_dependent/Koha/Template/Plugin/Asset.t (-4 / +4 lines)
Lines 4-13 use Modern::Perl; Link Here
4
4
5
use Test::More tests => 16;
5
use Test::More tests => 16;
6
use Template;
6
use Template;
7
use Test::MockModule;
7
8
8
use C4::Context;
9
my $version = "22.0509045";
9
10
my $koha_module = Test::MockModule->new( "Koha" );
10
my $version = C4::Context->preference('Version');
11
$koha_module->mock( "version", sub { return "22.05.09.045" } );
11
12
12
my $template = Template->new({
13
my $template = Template->new({
13
    PLUGIN_BASE => 'Koha::Template::Plugin',
14
    PLUGIN_BASE => 'Koha::Template::Plugin',
14
- 

Return to bug 22451