[Koha-bugs] [Bug 26405] Circulation.t fails on 'AddRenewal left both fines'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 16 18:32:32 CET 2021


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

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 118342
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118342&action=edit
Bug 26405: Prevent Circulation.t failing on 'AddRenewal left both fines'

Bug 23051 added option to skip calculating fines even when
"CalculateFinesOnReturn" is enabled. Due this Circulation.t
fails on  test  "AddRenewal left both fines" if
"CalculateFinesOnReturn"  is disabled on ones system.
Mocking syspref while testing fixes failig tests.

To test:
1. Disable "CalculateFinesOnReturn".
2. Run prove t/db_dependent/Circulation.t
=> Tests fail
3. Apply patch.
4. Run prove t/db_dependent/Circulation.t again
=> Tests are succesful

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list