https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29800 --- Comment #11 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 197920 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197920&action=edit Bug 29800: (QA follow-up) Add unit tests for WhenLostUpdateFine Add a subtest to t/db_dependent/Circulation/Returns.t exercising the new behaviour introduced by Bug 29800: * With WhenLostUpdateFine disabled, LostItem does not persist a new overdue fine. * With WhenLostUpdateFine enabled, LostItem calculates and persists the overdue fine (new checkout path). * With both WhenLostUpdateFine and WhenLostForgiveFine enabled, the forgive preference takes precedence and no overdue fine remains, confirming the coordination added earlier. * With WhenLostUpdateFine enabled and an existing accruing fine, LostItem updates the fine amount to reflect the current circulation rule (the original motivation for the preference). Test plan: 1 - Apply this patch. 2 - prove t/db_dependent/Circulation/Returns.t 3 - Confirm the new subtest 'LostItem | WhenLostUpdateFine' reports 6 passing assertions and the suite is green. -- You are receiving this mail because: You are watching all bug changes.