From 459b8a4845686522476241f3287fc140b8288090 Mon Sep 17 00:00:00 2001 From: Roland Tapken Date: Thu, 8 Feb 2018 13:14:57 +0100 Subject: [PATCH] Fixed unit test: groupsMatchFilter will not be called multiple times anymore. Signed-off-by: Roland Tapken --- apps/user_ldap/tests/Group_LDAPTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php index ec8d888e2a..0c5a06144a 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));