]> git.koha-community.org Git - koha.git/commit
Bug 23677: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 26 Sep 2019 19:23:49 +0000 (16:23 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 8 Oct 2019 13:33:34 +0000 (14:33 +0100)
commitea59b648f19b8567db4ff944d5ea80f0ec23b891
tree4cd51b826a5c393f757e407f2954b69a59068913
parentf67e23c2c2c71b8378ee6612ca28e7d6ecb71f93
Bug 23677: Unit tests

This patch introduces tests for the GET /biblios/{biblio_id} endpoint.
It tries to cover all the use cases.

To test:
- Apply this patchset
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass!
- Use Postman (or your favourite tool) to test the API
=> SUCCESS: Works as expected!
- Sign off :-D

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/api/v1/biblios.t