]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sun, 25 Apr 2021 15:45:15 +0000 (15:45 +0000)
commit00a4924ce2df55010b7cbc0793fde19f08effde6
treee15d522746d5e2982e29d5121a56d6d734705aed
parent1e23716f2cef44991e5ac1f29d30e77184e1f24b
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>
(cherry picked from commit 1c2b5952d315aa35ef015fd5244b5fee913c468c)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
t/db_dependent/Koha/Account/Line.t