[Koha-bugs] [Bug 33447] Add caching to Biblio->pickup_locations
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 20 20:08:43 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33447
--- Comment #19 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 149982
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149982&action=edit
Bug 33447: Make *->pickup_locations methods throw an exception on missing
parameter
This patch fixes the FIXME for making the methods throw an exception.
Tests are added, and POD is adapted as well.
To test:
1. Apply this patch
2. Run:
$ ktd --shell
k$ prove t/db_dependent/api/v1/patrons* \
t/db_dependent/api/v1/holds.t \
t/db_dependent/Reserves* \
t/db_dependent/Hold* \
t/db_dependent/Koha/Hold* \
t/db_dependent/Items*
=> SUCCESS: Tests pass!
3. Sign off :-D
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