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 <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2019-07-09 11:21:29 +01:00
parent 428d0e6112
commit 54c5ec977c
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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;