[Koha-bugs] [Bug 32340] Several tests failing for t/db_dependent/Reserves.t
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 30 09:40:27 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32340
--- Comment #6 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Yep mocking user environment for manager does the trick.
Also got this one as a new:
t/db_dependent/Reserves.t .. 73/77
# Failed test 'Reserve date set 1 year from today'
# at t/db_dependent/Reserves.t line 1758.
# got: '2388-06-30'
# expected: '2024-06-29'
# Looks like you failed 1 test of 2.
# Failed test 'DefaultHoldExpiration tests'
# at t/db_dependent/Reserves.t line 1761.
# Looks like you failed 2 tests of 77.
There's a typo in this line:
t::lib::Mocks::mock_preference( 'DefaultHoldExpirationUnitOfTime', 'days;' );
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list