]> git.koha-community.org Git - koha.git/commit
Bug 23858: Make POST add the Location header on vendors endpoint
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 21 Oct 2019 17:23:15 +0000 (14:23 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 28 Oct 2019 12:36:40 +0000 (12:36 +0000)
commit8ac459777b13275581b7060d60cf28674bb24157
tree04b93e304672e93b9565c4ee3f01c3c8e40554d9
parent081b72c08f9279970e5364b0f86ff0b41cc6d871
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/acquisitions_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@theke.io>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/V1/Acquisitions/Vendors.pm