https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33070
--- Comment #6 from Tomás Cohen Arazi (tcohen) <[email protected]> --- 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. _______________________________________________ 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/
