https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43838
--- Comment #3 from Tomás Cohen Arazi (tcohen) <[email protected]> --- Created attachment 208394 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208394&action=edit Bug 43838: Regression tests [=<26.05.x] This patch adds tests for useDaysMode 'Dayweek' showing that next_open_days, prev_open_days and addDuration jump a whole week over closed days that are not weekly closures, where they should move to the next (or previous) open day: - prev_open_days / next_open_days (used by ReturnBeforeExpiry and TalkingTech_itiva_outbound.pl) - non-weekly loan periods - hourly loans It also adds tests to make sure weekly loan periods keep moving to the next open matching weekday. Test plan: 1. Apply patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Koha/Calendar.t => FAIL: Tests fail! Dates are moved a whole week 3. Sign off :-D Assisted-by: Opus 5.5 (Anthropic) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
