[Koha-bugs] [Bug 26470] itemnumber not available for plugin hook
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 15 21:45:38 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26470
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 110119
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110119&action=edit
Bug 26470: Regression tests
This patch tweaks the test plugin so it composes an exception based on
the fact that the hook was called with the item and item_id parameters
defined.
It then makes the tests expect a specific exception message with
information about this.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t
=> FAIL: Tests fail!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list