From 4b3da08d8e13c92a274d1c1d5817be0f3312a5ed Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 22 Apr 2020 16:40:08 +0200 Subject: [PATCH] Bug 25172: Fix Auth_with_ldap.t # Failed test 'checkpw_ldap tests' # at t/db_dependent/Auth_with_ldap.t line 324. {UNKNOWN}: Configuration not defined at /usr/share/perl5/Log/Log4perl/Config.pm line 579. at /kohadevbox/koha/Koha/Patron.pm line 395 --- t/db_dependent/Auth_with_ldap.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/Auth_with_ldap.t b/t/db_dependent/Auth_with_ldap.t index 5871b87c52..565ddbdae6 100755 --- a/t/db_dependent/Auth_with_ldap.t +++ b/t/db_dependent/Auth_with_ldap.t @@ -390,7 +390,8 @@ sub mockedC4Config { if ( ref $class eq 'HASH' ) { return $class->{$param}; } - return; + + return C4::Context::_common_config($param, 'config'); } # Function that mocks the call to Net::LDAP -- 2.20.1