https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38291
--- Comment #67 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 211208 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211208&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 <[email protected]> Signed-off-by: Lucas Gass <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
