From 813640b9ebc19830ada11e23cec88622f4b2dfb8 Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Wed, 29 Sep 2021 06:59:46 -0400 Subject: [PATCH] Bug 26351: Revert improper change to unit test, fix number of tests --- t/db_dependent/Koha/Plugins/Plugins.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/Plugins/Plugins.t b/t/db_dependent/Koha/Plugins/Plugins.t index f093a0a8e87..b21ca96cd9e 100755 --- a/t/db_dependent/Koha/Plugins/Plugins.t +++ b/t/db_dependent/Koha/Plugins/Plugins.t @@ -25,7 +25,7 @@ use File::Temp qw( tempdir tempfile ); use FindBin qw($Bin); use Module::Load::Conditional qw(can_load); use Test::MockModule; -use Test::More tests => 55; +use Test::More tests => 57; use C4::Context; use Koha::Database; @@ -126,7 +126,7 @@ subtest 'GetPlugins() tests' => sub { @plugins = $plugins->GetPlugins({ metadata => { my_example_tag => 'find_me' }, all => 1 }); @names = map { $_->get_metadata()->{'name'} } @plugins; - is( scalar @names, 4, "Only four plugins found via a metadata tag" ); + is( scalar @names, 2, "Only two plugins found via a metadata tag" ); $schema->storage->txn_rollback; }; -- 2.30.2