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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 12 Jul 2023 07:10:01 +0000 (08:10 +0100)
commit8a5665d4b755b5a56ffb028cf3cc18832b598a37
treea2daff3dca1706e8ffc7556ab45d913a33cc6a4a
parent4effe3b3d89597fc9498b0d157caf70866a6e686
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>
(cherry picked from commit 76983f5275edc9df8f41c4c62f20827c822cc344)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/api/v1/jobs.t