https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29566
--- Comment #17 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 208973 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208973&action=edit Bug 29566: (follow-up) Add tests for the item print_slips route Cover GET /api/v1/items/{item_id}/print_slips/{slip_id}: - 401 when unauthenticated - 403 without the catalogue permission - 200 with the generated slip (slip_id, title, content and timestamp), using a slip that loops over the bundled items of the item - 404 for an unknown slip (and the warning C4::Letters raises for it) - 404 for an unknown item To test: 1. Apply the patches 2. Run $ prove t/db_dependent/api/v1/items.t 3. Confirm the tests pass Co-Authored-By: Claude Sonnet 5.5 <[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/
