[Koha-bugs] [Bug 23858] Vendors endpoint not setting the Location header

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 21 19:25:29 CEST 2019


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 94481
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94481&action=edit
Bug 23858: Make POST add the Location header on vendors endpoint

According to the coding guidelines, this endpoint should be adding the
Location header on POST actions.

To test:
1. Apply the tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/acquisition_vendors.t
=> FAIL: Tests fail!
3. Apply this patch
4. Repeat (1)
=> 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