[Koha-bugs] [Bug 26282] Allow staff to decide if a hold cancellation notice will be sent when cancelling a hold
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 27 10:08:31 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26282
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114011|0 |1
is obsolete| |
--- Comment #30 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 114030
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114030&action=edit
Bug 26282: Unit tests
This patch adds tests for the behaviour change. It tests if letter
processing takes place when notify_patron is passed. It tests all
combinations.
Bonus: it tweaks the POD to acknowledge this new parameter.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/Hold.t
=> FAIL: Tests fail!
3. Apply the rest of the patches
4. Repeat 2
=> SUCCESS: Tests pass! No warnings!
5. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list