Bug 19036: (follow-up) Improve test output
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Aug 2020 11:17:32 +0000 (12:17 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 20 Aug 2020 10:31:59 +0000 (12:31 +0200)
commit79848a276ec496d564c8037bee4832d59c9045c4
treeab4245e446b4514bb3583a930af5739d9f401373
parent87576a0568d9793b0c6f5231b35c0e2864f9bd8a
Bug 19036: (follow-up) Improve test output

This patch adds proper detail to the test output for the newly
introduced AutoCreditNumber feature and fixes the final test by adding
the 'interface' and 'amount' parameters to the Koha::Account::Line being
created so that we reach the Exception we are trying to catch and don't
die early.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Account.t