summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/user_ldap.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/user_ldap.php')
-rw-r--r--apps/user_ldap/tests/user_ldap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/user_ldap.php b/apps/user_ldap/tests/user_ldap.php
index 69a76c0b7ac..0f70c43fc11 100644
--- a/apps/user_ldap/tests/user_ldap.php
+++ b/apps/user_ldap/tests/user_ldap.php
@@ -124,7 +124,7 @@ class Test_User_Ldap_Direct extends \Test\TestCase {
->method('fetchListOfUsers')
->will($this->returnCallback(function($filter) {
if($filter === 'roland') {
- return array(array('dn' => 'dnOfRoland,dc=test'));
+ return array(array('dn' => ['dnOfRoland,dc=test']));
}
return array();
}));
@@ -133,7 +133,7 @@ class Test_User_Ldap_Direct extends \Test\TestCase {
->method('fetchUsersByLoginName')
->will($this->returnCallback(function($uid) {
if($uid === 'roland') {
- return array(array('dn' => 'dnOfRoland,dc=test'));
+ return array(array('dn' => ['dnOfRoland,dc=test']));
}
return array();
}));