[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
Wed Nov 25 20:39:50 CET 2020


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

Josef Moravec <josef.moravec at gmail.com> changed:

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

--- Comment #11 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 113999
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113999&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>

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


More information about the Koha-bugs mailing list