Bug 33852: Make jobs.t test the only_current parameter
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 29 May 2023 13:30:06 +0000 (10:30 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Jun 2023 11:29:01 +0000 (08:29 -0300)
commit76983f5275edc9df8f41c4c62f20827c822cc344
tree88969cb9fc5a7662f07231d24684e90df5c0eece
parente7116af43822477961080218b5b7990793e9c76a
Bug 33852: Make jobs.t test the only_current parameter

This trivial patch adds a test to the only_current parameter.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/jobs.t
=> SUCCESS: New tests added, and pass
3. Sign off :-D

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/api/v1/jobs.t