[Koha-bugs] [Bug 27079] UpdateFine adds refunds for fines paid off before return

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 26 19:37:56 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27079

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #113999|0                           |1
        is obsolete|                            |

--- Comment #14 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 114018
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114018&action=edit
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 at gmail.com>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list