[Koha-bugs] [Bug 22053] Ability to disable some plugins
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 20:30:29 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22053
--- Comment #27 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 89043
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89043&action=edit
Bug 22053: (QA follow-up) More tests
This patch adds tests for:
- $plugin->enable and $plugin->disable are chainable (i.e. return $self)
- Disabled plugins don't inject routes
To test:
- Apply this patch
- Run:
$ kshell
k$ prove t/db_dependent/Koha/REST/Plugin/PluginRoutes.t \
t/db_dependent/Plugins.t
=> SUCCESS: Tests pass
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list