[Koha-bugs] [Bug 31676] Fix db_dependent/Circulation.t tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 5 17:18:53 CEST 2022


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

--- Comment #5 from David Gustafsson <glasklas at gmail.com> ---
Now I got the test to work, the syspref cache wasn't probably cleared when ran
it the first time. Tests fail for me since the "RenewalPeriodBase" syspref was
set to "now". The default value is "date_due", so when renewing the item the
new due date is still in the past and will incur fees also on the next renewal
(even if the previously generated fee was calculated using the whole period).
This is pretty weird behavior and perhaps should be looked over, but at least
found the culprit and the tests should set this syspref to one of the options
(personally would prefer "now" sisnce the "date_due"-behavior is pretty
confusing.

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


More information about the Koha-bugs mailing list