]> 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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Tue, 17 Oct 2023 13:37:01 +0000 (14:37 +0100)
commitced2496fd9b420f68d4804f071fb5fbefeaf4683
tree6f3ac2a1baa66e60a5b540d30d5a70913f81a36f
parentf231484ef33f2d478cc9683619db07fe8941a0b6
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>
(cherry picked from commit e369d47eb738cd4b4ff2c2e2e21173dbd580aceb)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
t/db_dependent/Koha/Item.t