[Koha-bugs] [Bug 12133] Guarantor requirements when registering a patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 14 14:28:14 CET 2023


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomascohen at gmail.com

--- Comment #63 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Emmi Takkinen from comment #62)
> Created attachment 158919 [details] [review]
> Bug 12133: Fix failing tests
> 
> Tests in erm_users.t and Letters.t failed because when
> we mock patrons they receive category where setting
> can_be_guarantee is not 0. This triggers error "Child
> patron cannot be a guarantor". We also need to mock
> syspref "ChildNeedsGuarantor" accordingly.
> 
> To test prove t/db_dependent/api/v1/erm_users.t and
> t/db_dependent/Letters.t.
> 
> Sponsored-by: Koha-Suomi Oy

Ha, just had written almost the same patch.

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


More information about the Koha-bugs mailing list