[Koha-bugs] [Bug 2389] overdue_notices.pl needs a test mode
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 26 07:05:27 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2389
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #55782|0 |1
is obsolete| |
Attachment #55783|0 |1
is obsolete| |
--- Comment #16 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 55812
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55812&action=edit
[PASSED QA] Bug 2389: Add --test switch to overdue_notices.pl
This patch adds the --test option switch to the overdue_notices.pl script
so it can be ran without doing any actual action.
To test:
- Have a patron with overdue items (simulate a checkout for a past date. Note
it implies
that the circ rules are defined so the patron is overdue)
- Run:
$ sudo koha-shell kohadev
koha-dev$ misc/cronjobs/overdue_notices.pl --test
=> SUCCESS: The script is ran but the patron isn't debarred and no notice
messages are queued.
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Barton Chittenden <barton at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list