If the tests are run after the DB has been upgraded (see bug 34683), then some tests are failing.
t/db_dependent/check_sysprefs.t see bug 34720.
t/db_dependent/Illrequest/Config.t see bug 34842.
t/db_dependent/Koha/Database/Commenter.t see bug 34843
t/Koha/Auth/Permissions.t see bug 34844
t/db_dependent/Acquisition/GetBasketGroupAsCSV.t see bug 34845
t/db_dependent/SIP/ILS.t see bug 34846
t/db_dependent/Search.t see bug 34847
t/db_dependent/SIP/ILS.t see bug 34848
Fixed, for me, but we could go further if needed later.