summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-11-27 23:46:26 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-11 11:21:02 +0100
commit1ed61328991ce1071fc956a18ea3159405b0e6f3 (patch)
treee14532454a84dfb4fde9c97f61e55faa800864a2 /apps/user_ldap/tests/user_ldap.php
parent171b279753d704bfa1c5fe2591963612289a54b1 (diff)
downloadnextcloud-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.php2
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())