[Koha-bugs] [Bug 24602] The fallback value for onshelfholds should be 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 6 15:19:03 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24602

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 98532
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98532&action=edit
Bug 24602: Tests for get_onshlefholds_policy

Ths patch introduces tests for get_onshelf_policy.
To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/CirculationRules.t
=> FAIL: Tests fail because the current code returns undef instead of 0

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list