]> git.koha-community.org Git - koha.git/commit
Bug 26271: Add failing test to reveal issue with patrons API endpoint
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Fri, 21 Aug 2020 13:21:42 +0000 (16:21 +0300)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 15 Sep 2020 11:42:16 +0000 (23:42 +1200)
commitf28cfa768253d1a15ba9bbba9f19f5b5e51d41ad
tree4de1f44d7b04bdf31d2b8544ed93c4e6bf96bb8a
parenta16860fef11e719db5aeef8e1cc839fb47b9d40e
Bug 26271: Add failing test to reveal issue with patrons API endpoint

When manager_id is null/undef the API returns error code 500.

To test:
 1) Notice failure when running
    prove t/db_dependent/api/v1/patrons_accounts.t

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 898cd3b82ee84682bdfad1c177e2eb6ae0881428)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 00570ae9690a33a9be62dc51aaffa9d3774281f9)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
t/db_dependent/api/v1/patrons_accounts.t