]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 Sep 2020 12:18:23 +0000 (14:18 +0200)
commit898cd3b82ee84682bdfad1c177e2eb6ae0881428
treeebd38649de6725af14cf16625cfb2b4a9ad54cd1
parentbb73c5343c072bf7e2ff9cc00f840554ce848be8
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>
t/db_dependent/api/v1/patrons_accounts.t