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/cities.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: Martin Renvoize <martin.renvoize@ptfs-europe.com>
|
||
|---|---|---|
| .. | ||
| acquisitions_funds.json | ||
| acquisitions_vendors.json | ||
| biblios.json | ||
| checkouts.json | ||
| cities.json | ||
| clubs.json | ||
| holds.json | ||
| illrequests.json | ||
| items.json | ||
| libraries.json | ||
| oauth.json | ||
| patrons.json | ||
| patrons_account.json | ||
| patrons_password.json | ||
| public_patrons.json | ||
| return_claims.json | ||
| rotas.json | ||