Bug 21334: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 11 Sep 2018 17:43:32 +0000 (10:43 -0700)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 20 Sep 2018 14:02:19 +0000 (15:02 +0100)
commitbbd86576ff80126203c7a957aad6885435eb5aaa
tree0aa5964e0faed1c2a1a41134a8b73f3525da53b6
parentab79f3fc67a06ea7383270ae7f00f97605c3a4d0
Bug 21334: Unit tests

This patch adds unit tests for the new content types being added.
It also adds tests for the 'json' overloading that already takes place
in V1.pm.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 1442499a0b6d6c22c87b7ef9eea4c7cc540e3fce)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/REST/V1.t [new file with mode: 0644]