From 646f2f1d414cd782f0a176b750915001c457863a Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 30 Jun 2015 13:56:25 +0200 Subject: adjust unit test --- apps/user_ldap/tests/group_ldap.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/user_ldap/tests/group_ldap.php b/apps/user_ldap/tests/group_ldap.php index aeb306174f0..f716618ce48 100644 --- a/apps/user_ldap/tests/group_ldap.php +++ b/apps/user_ldap/tests/group_ldap.php @@ -404,6 +404,10 @@ class Test_Group_Ldap extends \Test\TestCase { ->method('dn2groupname') ->will($this->returnArgument(0)); + $access->expects($this->once()) + ->method('groupsMatchFilter') + ->will($this->returnArgument(0)); + $groupBackend = new GroupLDAP($access); $groups = $groupBackend->getUserGroups('userX'); -- cgit v1.2.3