]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Nov 2020 08:37:10 +0000 (09:37 +0100)
commit442802d77629586fe906f1055ce386ace8165d8c
treec67fea39eb755e9f1d7e1988d4d40a6f511f8297
parent68079c72744bbb93a3f512e445a1dd15323d9694
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>
t/db_dependent/Overdues.t