https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38291 --- Comment #74 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211233 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211233&action=edit Bug 38291: Add a unit test Add t/db_dependent/api/v1/library_groups.t for GET /api/v1/library_groups. It checks that an authorized user gets a 200 response, and that the list has as many entries as there are rows in the library_groups table. To test: 1. Apply the patches, then run yarn api:bundle and restart_all 2. Run: prove t/db_dependent/api/v1/library_groups.t => SUCCESS: Tests pass Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.