Bug 27927: Add Unit Tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 6 Apr 2021 10:19:04 +0000 (11:19 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 10:28:17 +0000 (12:28 +0200)
commit6eea10dc538d76af1f1545010439d4fcb3d288ab
tree37e73235bd7df0d23e8bbca71fd6336e15a9317c
parent59f1dc09acfcf602bb2700eb4ee64ecc10f4d09b
Bug 27927: Add Unit Tests

Add a unit test to check that 'FORGIVEN' credits do not prompt an
auto-renewal with `RenewAccruingItemWhenPaid` enabled.

Test plan
1/ Apply the test patch
2/ Run t/db_dependent/Koha/Account/Line.t and confirm it fails
3/ Apply subsequent patch
4/ Re-run the test and confirm it passes

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/Line.t