Bug 25508: Add Unit Tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 6 Apr 2021 07:48:38 +0000 (08:48 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 10:01:49 +0000 (12:01 +0200)
commit66ad8f77278e7ceb18bc5e027a470fd621e5f9b2
tree0dcf5aef667236be7cd5e73ca51c325c0edf8b2c
parentcc8787bf879630f1c5572008c3637598f56d7aff
Bug 25508: Add Unit Tests

Enhance the unit tests to check for the return values of
Koha::Account->pay.

Test plan
1/ Apply just this patch
2/ Run t/db_dependent/Koha/Account.t and watch it fail
3/ Apply the rest of the patch series
4/ Run t/db_dependent/Koha/Account.t and watch it pass
5/ Signoff

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Account.t