[Koha-bugs] [Bug 34152] Tests in t/db_dependent/Koha/Item.t fail
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 7 14:30:29 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34152
--- Comment #5 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
(In reply to Sam Lau from comment #4)
> Oddly enough, I also can't get it to fail. I ran it 5 times and it passed
> every time. This is especially weird since tests were failing for me and
> Lucas on Bug 12133, but it wasn't initially failing for you
I actually managed to "can_edit_items_from" problem by changing one of my test
borrowers borrowernumber to 51 (which is the borrowernumber of mock patron
created with sub mock_userenv). I also had to set him as superlibrarian to
prevent "holds tests" from failing. Could it be that sub mock_userenv doesn't
work properly?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list