[Bug 12133] Guarantor requirements when registering a patron
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12133 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #63 from Tomás Cohen Arazi <tomascohen@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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org