[Koha-bugs] [Bug 23857] Club holds endpoint not setting Location header

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 4 14:22:24 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23857

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 114783
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114783&action=edit
Bug 23857: Make adding club holds set the Location header

This patch makes the club holds route add the Location header to the
response as specified in the API coding guidelines.

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/clubs_holds.t
=> FAIL: Tests don't pass!
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list