Bug 20004: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 17 Jan 2018 17:03:52 +0000 (14:03 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Feb 2018 20:53:41 +0000 (17:53 -0300)
commit3afbbdf48cad8acda06fc21333b270cb1944d454
tree05de07c28a0c0e344d71da98d218d57814bac0a0
parent1b16c0b35ded57c728f89db3af7aab349e879bef
Bug 20004: Unit tests

This patch adapts the unit tests for the cities endpoint to the
requirements from the RFC. This tests are expected to just fail
without the needed followup.

To test:
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/cities.t
=> FAIL: Tests obviously don't pass without the followup patch.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/api/v1/cities.t