Lines 57-63
my $tmplModule = new Test::MockModule('C4::Templates');
Link Here
|
57 |
$tmplModule->mock('_get_template_file', sub { |
57 |
$tmplModule->mock('_get_template_file', sub { |
58 |
my ($tmplbase, $interface, $query) = @_; |
58 |
my ($tmplbase, $interface, $query) = @_; |
59 |
my $opactmpl = File::Spec->rel2abs(dirname(__FILE__) . '/../../koha-tmpl/opac-tmpl'); |
59 |
my $opactmpl = File::Spec->rel2abs(dirname(__FILE__) . '/../../koha-tmpl/opac-tmpl'); |
60 |
return ($opactmpl, 'prog', 'en', "$opactmpl/prog/en/modules/$tmplbase"); |
60 |
return ($opactmpl, 'bootstrap', 'en', "$opactmpl/bootstrap/en/modules/$tmplbase"); |
61 |
}); |
61 |
}); |
62 |
my $contextModule = new Test::MockModule('C4::Context'); |
62 |
my $contextModule = new Test::MockModule('C4::Context'); |
63 |
$contextModule->mock('preference', sub { |
63 |
$contextModule->mock('preference', sub { |
64 |
- |
|
|