Bug 30394: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Mar 2022 11:43:50 +0000 (13:43 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 4 Apr 2022 14:23:46 +0000 (16:23 +0200)
commit9453fc6a9fd1289bf516fcb809c80b600c86ef98
treedd476a8fe24b745bf17ff228b9bfe1055e28296e
parentfe4101140ea5ec40e18233a1d9be61455092de07
Bug 30394: Unit tests

This patch adds tests for checking the x-koha-request-id header is
returned on GET routes that have it enabled, and then the request
includes it.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/query.t
=> FAIL: The feature is not implemented, tests fail

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