]> git.koha-community.org Git - koha.git/commit
Bug 27079: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 25 Nov 2020 14:10:34 +0000 (14:10 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 16 Dec 2020 21:53:11 +0000 (22:53 +0100)
commitf4fd2f0aff58145e2f3ad56f425656564c4ceae5
treea49d5aa87091a771a627c7dd96cba72cac7bcf40
parentf8b7a36a08d697c8c341c429763fcc401006ccc0
Bug 27079: Unit tests

Add a unit test to check for floating point errors in UpdateFine
relating to catching matching CalcFine amounts compared to DB amount
values.

Test plan
1/ Run the unit test and confirm it fails
2/ Apply the second patch in the series
3/ Run the unit test and confirm it passes

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 442802d77629586fe906f1055ce386ace8165d8c)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit bb7ef5294f19a1261389b28e3605c26c8624ea16)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/Overdues.t