diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-11-27 23:46:26 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 11:21:02 +0100 |
commit | 1ed61328991ce1071fc956a18ea3159405b0e6f3 (patch) | |
tree | e14532454a84dfb4fde9c97f61e55faa800864a2 /apps/user_ldap/tests/user_ldap.php | |
parent | 171b279753d704bfa1c5fe2591963612289a54b1 (diff) | |
download | nextcloud-server-1ed61328991ce1071fc956a18ea3159405b0e6f3.tar.gz nextcloud-server-1ed61328991ce1071fc956a18ea3159405b0e6f3.zip |
LDAP: do not attempt to process user records without display name, fixes fatal error
Diffstat (limited to 'apps/user_ldap/tests/user_ldap.php')
-rw-r--r-- | apps/user_ldap/tests/user_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/user_ldap.php b/apps/user_ldap/tests/user_ldap.php index 3aec2a5ce57..4d1aa146fe7 100644 --- a/apps/user_ldap/tests/user_ldap.php +++ b/apps/user_ldap/tests/user_ldap.php @@ -313,7 +313,7 @@ class Test_User_Ldap_Direct extends \Test\TestCase { $access->expects($this->any()) ->method('combineFilterWithAnd') ->will($this->returnCallback(function($param) { - return $param[1]; + return $param[2]; })); $access->expects($this->any()) |