6 Dec
2018
6 Dec
'18
8:05 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21969 --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 82939 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82939&action=edit Bug 21969: Regression tests This patch introduces regression tests for Koha::Account::outstanding_* methods so they don't pick wrong lines when amountoutstanding matches what we are looking for (i.e. negative for credits and positive for debits). To test: - Apply this patch - Run: $ kshell k$ prove t/db_dependent/Koha/Account.t => FAIL: Tests fail because pathological account lines are wrongly picked. -- You are receiving this mail because: You are watching all bug changes.