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

--- Comment #6 from Emmi Takkinen <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to