]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 14 Dec 2020 15:35:28 +0000 (15:35 +0000)
commitbb7ef5294f19a1261389b28e3605c26c8624ea16
tree9c62e4e545570e5252c060ef43a9483acdff4e3d
parent198c3be9f0036b5b828d14941b3eae1898526b6a
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>
t/db_dependent/Overdues.t