]> git.koha-community.org Git - koha.git/commit
Bug 34918: Fix userenv for safe_to_delete tests
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 27 Sep 2023 10:43:04 +0000 (10:43 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Oct 2023 19:19:51 +0000 (09:19 -1000)
commite369d47eb738cd4b4ff2c2e2e21173dbd580aceb
tree2f2df98451276420bbd532bbe4e7e40e14342d87
parent3dc01292aa869d1ad896e908bdd161fb19682b41
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@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f8233f44a5e4871be38d9b850d97166dcf99c981)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/Item.t