[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 13:41:38 CET 2023


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

--- Comment #62 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 158919
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158919&action=edit
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

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


More information about the Koha-bugs mailing list