Koha/t/db_dependent/Letters
Tomas Cohen Arazi 6c45192a5f Bug 29759: (follow-up) Fix TemplateToolkit.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
..
GetLettersAvailableForALibrary.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
GetLetterTemplates.t
TemplateToolkit.t Bug 29759: (follow-up) Fix TemplateToolkit.t 2022-02-02 09:48:33 -10:00