From 54c5ec977c8c1c84f3023a12a6a8192d9ac9a1dc Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 9 Jul 2019 11:21:29 +0100 Subject: [PATCH] Bug 22709: (RM follow-up) Enable plugin in tests Now that we clean up properly in t/db_dependent/Plugins.t when we reload the Koha::Plugin::Test plugin we must also enable it for the tests to function. Signed-off-by: Martin Renvoize --- .../Plugins/Biblio_and_Items_plugin_hooks.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t b/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t index 633ef04..a841e2c 100755 --- a/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t +++ b/t/db_dependent/Plugins/Biblio_and_Items_plugin_hooks.t @@ -51,7 +51,7 @@ subtest 'after_biblio_action() and after_item_action() hooks tests' => sub { my $plugins = Koha::Plugins->new; $plugins->InstallPlugins; - my $plugin = Koha::Plugin::Test->new; + my $plugin = Koha::Plugin::Test->new->enable; my $biblio_id; -- 1.7.2.5