Tomas Cohen Arazi
04dd54c611
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> |
||
---|---|---|
.. | ||
acquisitions_funds.t | ||
acquisitions_orders.t | ||
acquisitions_vendors.t | ||
advanced_editor_macros.t | ||
article_requests.t | ||
auth.t | ||
auth_authenticate_api_request.t | ||
auth_basic.t | ||
biblios.t | ||
cashups.t | ||
checkouts.t | ||
cities.t | ||
clubs_holds.t | ||
holds.t | ||
illrequests.t | ||
import_batch_profiles.t | ||
items.t | ||
libraries.t | ||
oauth.t | ||
patrons.t | ||
patrons_accounts.t | ||
patrons_extended_attributes.t | ||
patrons_holds.t | ||
patrons_password.t | ||
return_claims.t | ||
smtp_servers.t | ||
stockrotationstage.t | ||
suggestions.t | ||
transfer_limits.t | ||
unhandled_exceptions.t |