summaryrefslogtreecommitdiffstats
path: root/apps
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-05 11:07:40 +0100
commit459b8a4845686522476241f3287fc140b8288090 (patch)
tree32b18a1b1b6e4918467d0be717c554f57fab8b66 /apps
parente7c506cff100b588e1943bd7dbaef2ef687a1bfb (diff)
downloadnextcloud-server-459b8a4845686522476241f3287fc140b8288090.tar.gz
nextcloud-server-459b8a4845686522476241f3287fc140b8288090.zip
Fixed unit test: groupsMatchFilter will not be called multiple times anymore.
Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
Diffstat (limited to 'apps')
-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));