summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorRoland Tapken <roland@bitarbeiter.net>2018-02-08 13:14:57 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-03-07 22:38:15 +0100
commit3384e251542b07c633f6e72aeecea941bf9ce62b (patch)
tree2ece0abbdfe19a51d4b2b85bb3f0662c63450ddc /apps/user_ldap
parent0a469e8f231381347c933666537362892a131b95 (diff)
downloadnextcloud-server-3384e251542b07c633f6e72aeecea941bf9ce62b.tar.gz
nextcloud-server-3384e251542b07c633f6e72aeecea941bf9ce62b.zip
Fixed unit test: groupsMatchFilter will not be called multiple times anymore.
Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/tests/Group_LDAPTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php
index ec8d888e2a0..0c5a06144a0 100644
--- a/apps/user_ldap/tests/Group_LDAPTest.php
+++ b/apps/user_ldap/tests/Group_LDAPTest.php
@@ -625,7 +625,7 @@ class Group_LDAPTest extends TestCase {
->method('dn2groupname')
->will($this->returnArgument(0));
- $access->expects($this->exactly(3))
+ $access->expects($this->exactly(1))
->method('groupsMatchFilter')
->will($this->returnArgument(0));