25 Mar
2026
25 Mar
'26
12:24 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33070 --- Comment #6 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 196115 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196115&action=edit Bug 33070: (follow-up) Fix IsItemIssued.t mock_userenv mock_userenv was called before the test patron was created and used the default borrowernumber (51), which doesn't necessarily exist in the test database. This caused safe_to_delete to crash on the not_same_branch check when Koha::Patrons->find returned undef. Move mock_userenv after patron creation and pass the actual borrowernumber. -- You are receiving this mail because: You are watching all bug changes.