[Koha-bugs] [Bug 20144] Test suite is failing with new default SQL modes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 13 19:56:43 CET 2018


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

--- Comment #67 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 71564
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71564&action=edit
Bug 20144: (follow-up) Adjust /patrons endpoint

Fields 'address' and 'city' have been maybe nullable by this bug. This
patch makes them nullable on the API as well.

To test:
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/patrons.t
=> FAIL: Tests fail (randomly) when address or city are set to null by
         TestBuilder.
- Apply this patch
- Run:
 k$ prove t/db_dependent/api/v1/patrons.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list