Bug 31051: DBRev 22.12.00.005
[koha-ffzg.git] / t / Koha_Template_Plugin_Koha.t
index 812f5f9..a8d66fe 100755 (executable)
@@ -17,7 +17,7 @@
 
 use Modern::Perl;
 
-use Test::More tests => 5;
+use Test::More tests => 4;
 use Test::MockModule;
 use t::lib::Mocks;
 
@@ -77,18 +77,6 @@ subtest "Koha::Template::Plugin::Koha::Version tests" => sub {
 
 };
 
-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;