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 Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
|---|---|---|
| .. | ||
| v1 | ||