From: Martin Renvoize Date: Tue, 9 Jul 2019 10:21:29 +0000 (+0100) Subject: Bug 22709: (RM follow-up) Enable plugin in tests X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=54c5ec977c8c1c84f3023a12a6a8192d9ac9a1dc 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 --- 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;