[Koha-bugs] [Bug 20598] Accruing fines not closed out by longoverdue.pl if WhenLostForgiveFine is not enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 16 11:48:56 CET 2018


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

--- Comment #13 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Circulation.t

    t::lib::Mocks::mock_preference('WhenLostForgiveFine','0');
    t::lib::Mocks::mock_preference('WhenLostChargeReplacementFee','0');

   [...]

    is( $total_due, '15.000000', 'Borrower only charged replacement fee with
both WhenLostForgiveFine and WhenLostChargeReplacementFee enabled' );

    [...]

    ok( $total_due == 15, 'Borrower only charged fine with both
WhenLostForgiveFine and WhenLostChargeReplacementFee disabled' );

Hmm. Enabled? Replacement fee was zero ?

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


More information about the Koha-bugs mailing list