]> git.koha-community.org Git - koha.git/commit
Bug 27927: Add Unit Tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 6 Apr 2021 10:19:04 +0000 (11:19 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 22 Apr 2021 13:48:27 +0000 (15:48 +0200)
commit1c2b5952d315aa35ef015fd5244b5fee913c468c
tree1c95f3ad81c7b491301c8832667ccafaf0a63a9b
parente0fe359ca7644368ed4e49ac20c6f4fca7047a08
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>
(cherry picked from commit 6eea10dc538d76af1f1545010439d4fcb3d288ab)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/Account/Line.t