[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
Thu Dec 3 09:46:06 CET 2020


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

Emmi Takkinen <emmi.takkinen at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|chris at bigballofwax.co.nz    |emmi.takkinen at koha-suomi.fi

--- Comment #2 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 114135
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114135&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

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


More information about the Koha-bugs mailing list