]> git.koha-community.org Git - koha.git/commit
Bug 36822: LDAP - Rearrange Auth_with_ldap.pm so it picks up on mock config from...
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 25 Oct 2024 14:38:09 +0000 (14:38 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Nov 2024 15:29:14 +0000 (16:29 +0100)
commite3d071ac5409030742b5b41805559e083c6c0140
treed2b68cccd2aef9706435353a3408cb3dea29da7e
parentce9c97cda30ef32d4fa22a51c1a96f69ea9f18b0
Bug 36822: LDAP - Rearrange Auth_with_ldap.pm so it picks up on mock config from test file

Without this rearrangement, C4::Context->config('useldapserver') is always 0.
It seems that because its inside a BEGIN block, the mock coming from .t file does not get picked up

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Auth.pm