Bug 22709: (follow-up) Mock enable_plugins config entry
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Jul 2019 13:07:27 +0000 (10:07 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 4 Jul 2019 12:49:47 +0000 (13:49 +0100)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

t/db_dependent/Biblio_and_Items_plugin_hooks.t

index 2d5602a..5798724 100755 (executable)
@@ -40,6 +40,7 @@ my $schema  = Koha::Database->new->schema;
 my $builder = t::lib::TestBuilder->new;
 
 t::lib::Mocks::mock_preference( 'UseKohaPlugins', 1 );
+t::lib::Mocks::mock_config( 'enable_plugins', 1 );
 
 subtest 'after_biblio_action() and after_item_action() hooks tests' => sub {