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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 12 Jul 2023 09:36:02 +0000 (09:36 +0000)
commit7b825c7028d68079f1345ae4611b54b2a582b3e2
tree37ec39b656ce7fa486a9b1c604ca45427d065519
parent1537b106827fbee6dfa369732c38d253bd1b74ce
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>
(cherry picked from commit 8a5665d4b755b5a56ffb028cf3cc18832b598a37)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
t/db_dependent/api/v1/jobs.t