Koha-clms/t/db_dependent/Koha/Plugins
Jonathan Druart 88506d7bb6 Bug 26138: Make Koha::Plugins->call return consistent value
It must return an empty array in case the enable_plugins config flag is
disabled

Test plan:
Turn the config off in koha-conf
Start a search at the OPAC
Without this patch you got:
  Can't use string ("0") as a HASH ref while "strict refs" in use at /home/vagrant/kohaclone/opac/opac-search.pl line 661
With this patch applied you see the search result

Followed test plan - works as described.

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-05 17:36:28 +02:00
..
Biblio_and_Items_plugin_hooks.t Bug 20415: Remove UseKohaPlugins system preference 2020-03-26 11:42:02 +00:00
Circulation_hooks.t Bug 26108: Regression tests 2020-07-31 15:04:44 +02:00
Holds_hooks.t Bug 24031: (QA follow-up) Add tests for the AddReserve intervention 2020-07-30 17:30:23 +02:00
KitchenSinkPlugin.kpz
…
Patron.t Bug 18308: (RM follow-up) Clarify intent of tests 2020-05-05 14:59:35 +01:00
Plugins.t Bug 26138: Make Koha::Plugins->call return consistent value 2020-08-05 17:36:28 +02:00
z_reset.t
…