[Koha-bugs] [Bug 34918] Koha/Items.t crashes on missing borrower 42

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 27 13:13:56 CEST 2023


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

--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 156282
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156282&action=edit
Bug 34918: Fix userenv for safe_to_delete tests

Instead of the fallback to 51, we pass a borrower that has
permission for editing items.

Test plan:
Do not apply patch.
Run test without a borrower 51 in db. (FAIL)
Apply patch.
Run test again. (PASS)

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list