[Koha-bugs] [Bug 35507] TestBuilder.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 12 15:05:18 CET 2023


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

--- Comment #28 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Tomas, maybe this works from auth_authenticate_api_request.t :

# FIXME: CGI::Session::Driver::DBI explicitly sets AutoCommit=1 [1] which
breaks the rollback in out tests.
# Until we change into some other library, set SessionStorage to 'tmp'
# [1] https://metacpan.org/source/CGI::Session::Driver::DBI#L28
t::lib::Mocks::mock_preference( 'SessionStorage', 'tmp' );

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


More information about the Koha-bugs mailing list