Koha/t/db_dependent/api/v1
Tomas Cohen Arazi 04dd54c611 Bug 29759: (follow-up) Fix api/v1/article_requests.t
This patch makes the tests set debit_id to undef instead of random data.
This way tests don't break when $article_request->cancel is invoked and
a refund is tried.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Letters/TemplateToolkit.t
=> FAIL: Boo, tests fail, random garbage is not a debit
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-02 09:48:33 -10:00
..
acquisitions_funds.t
acquisitions_orders.t Bug 29464: Regression tests 2022-01-18 21:15:04 -10:00
acquisitions_vendors.t
advanced_editor_macros.t
article_requests.t Bug 29759: (follow-up) Fix api/v1/article_requests.t 2022-02-02 09:48:33 -10:00
auth.t
auth_authenticate_api_request.t Bug 28948: Make is_public stashed on public routes 2021-10-28 17:32:34 +02:00
auth_basic.t
biblios.t Bug 29290: Unit tests 2021-10-28 17:32:34 +02:00
cashups.t
checkouts.t Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00
cities.t
clubs_holds.t
holds.t Bug 29906: fix when hold record forcibly gets unwanted "suspended" state 2022-01-31 21:55:40 -10:00
illrequests.t
import_batch_profiles.t
items.t
libraries.t
oauth.t
patrons.t Bug 29403: Fix api/v1/patrons.t 2022-01-28 11:09:06 -10:00
patrons_accounts.t
patrons_extended_attributes.t
patrons_holds.t
patrons_password.t Bug 29272: (QA follow-up) Category setup overrides syspref 2021-10-28 12:16:37 +02:00
return_claims.t
smtp_servers.t
stockrotationstage.t
suggestions.t Bug 17314: Unit tests 2021-10-28 17:32:34 +02:00
transfer_limits.t
unhandled_exceptions.t Bug 28020: Unit tests 2022-01-05 13:33:46 -10:00