[Koha-bugs] [Bug 25855] Add post_renewal_hook in circulation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 24 15:13:09 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25855
--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 106249
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106249&action=edit
Bug 25855: Add a post_renewal_action plugin hook
This patch adds a new hook to notify plugins about renewal actions. To
test it:
1. Apply the unit tests
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/Plugins/Circulation_hooks.t
=> FAIL: The tests expect some warnings to show, and they don't (i.e.
the sample plugin hook is not being called).
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass! The hook is being called on renewal!
5. Sign off :-D
Sponsored-by: ByWater Solutions
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list