]> git.koha-community.org Git - koha.git/commit
Bug 34916: Fix wrong borrowernumber in ArticleRequests.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 26 Sep 2023 13:45:35 +0000 (13:45 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 Oct 2023 19:53:54 +0000 (09:53 -1000)
commit47d9e00a7081415be7471e22b925b5c3189dde39
tree7e0d3225e7a5a74266b4a8dcf256a991c58da3e8
parentb6cc786dfd5f11bbf896117660c5a82f1994c215
Bug 34916: Fix wrong borrowernumber in ArticleRequests.t

Simple fix: Send patron to userenv instead of library only.

Test plan:
Do not apply patch.
Remove borrowernumber 51.
Run t/db_dependent/Koha/ArticleRequests.t. (FAIL)
Apply patch, rerun test (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 7d93d18548d02b1b634db09356caf18795a6ddbf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/ArticleRequests.t