]> git.koha-community.org Git - koha.git/commit
Bug 28385: Use ldapserver only if exists
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 25 May 2021 08:34:49 +0000 (10:34 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 25 May 2021 08:34:51 +0000 (10:34 +0200)
commit8b4f2db7ef41964b522a58fba6b4601c42f93069
tree7f9138a9083bd059bece5dfb718734b5557d7a5a
parente10b25d5944a467053303d0fec3b0e238c633a59
Bug 28385: Use ldapserver only if exists

Fix test
t/db_dependent/Auth_with_ldap.t .. 1/4
 #   Failed test 'use C4::Auth_with_ldap;'
 #   at t/db_dependent/Auth_with_ldap.t line 123.
 #     Tried to use 'C4::Auth_with_ldap'.
 #     Error:  No ldapserver "id="ldapserver"" defined in KOHA_CONF: /etc/koha/sites/kohadev/koha-conf.xml at /kohadevbox/koha/C4/Auth_with_ldap.pm line 55.
 # Compilation failed in require at t/db_dependent/Auth_with_ldap.t line 123.
 # BEGIN failed--compilation aborted at t/db_dependent/Auth_with_ldap.t line 123.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Auth_with_ldap.pm