Bug 22709: (RM follow-up) Enable plugin in tests
[koha.git] / t / db_dependent / Plugins / Biblio_and_Items_plugin_hooks.t
index 633ef04..a841e2c 100755 (executable)
@@ -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;