diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-28 11:44:21 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-28 11:44:21 +0200 |
commit | 0479cefec36fc5eca56e05c0984400c32de72ee5 (patch) | |
tree | b11211d1447f1bc0280a29b387957d066399ca84 /apps/user_ldap/tests/group_ldap.php | |
parent | c300394348ea0420ceecef46de9ed82babaff7c1 (diff) | |
parent | 002b6bf059377853dc174c1d49792e62983c4bec (diff) | |
download | nextcloud-server-0479cefec36fc5eca56e05c0984400c32de72ee5.tar.gz nextcloud-server-0479cefec36fc5eca56e05c0984400c32de72ee5.zip |
Merge pull request #18469 from owncloud/ldap-batch-read-attrs-ng
read all relevant user attributes on login and user search, in one qu…
Diffstat (limited to 'apps/user_ldap/tests/group_ldap.php')
-rw-r--r-- | apps/user_ldap/tests/group_ldap.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/group_ldap.php b/apps/user_ldap/tests/group_ldap.php index 805238e7d37..7007afd5162 100644 --- a/apps/user_ldap/tests/group_ldap.php +++ b/apps/user_ldap/tests/group_ldap.php @@ -53,6 +53,10 @@ class Test_Group_Ldap extends \Test\TestCase { $accMethods, array($connector, $lw, $um)); + $access->expects($this->any()) + ->method('getConnection') + ->will($this->returnValue($connector)); + return $access; } @@ -391,7 +395,7 @@ class Test_Group_Ldap extends \Test\TestCase { $access->connection->hasPrimaryGroups = false; - $access->expects($this->once()) + $access->expects($this->any()) ->method('username2dn') ->will($this->returnValue($dn)); |