use Modern::Perl;
-use Test::More tests => 5;
+use Test::More tests => 4;
use Test::MockModule;
use t::lib::Mocks;
};
-subtest "Koha::Template::Plugin::Koha::ArePluginsEnabled tests" => sub {
-
- plan tests => 2;
-
- t::lib::Mocks::mock_config( 'enable_plugins', 1 );
- is(Koha::Template::Plugin::Koha::ArePluginsEnabled(), 1, "Correct ArePluginsEnabled is yes");
-
- t::lib::Mocks::mock_config( 'enable_plugins', 0 );
- is(Koha::Template::Plugin::Koha::ArePluginsEnabled(), 0, "Correct ArePluginsEnabled is no");
-
-};
-
subtest "Koha::Template::Plugin::Koha::CSVDelimiter tests" => sub {
plan tests => 8;