Bug 29290: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 27 Oct 2021 12:06:44 +0000 (09:06 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Oct 2021 15:32:34 +0000 (17:32 +0200)
commitc9fc07aee3bc9b60a856b1b873ec731a31c2bc8a
treed7e7f4fd8cf19d1eeb55c3a667b59bade0a469cd
parent8fdd52b17cfe149c5e9721161cab60e61ad97877
Bug 29290: Unit tests

This patch adds unit tests for the new route. All behaviors are tested:

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/api/v1/biblios.t