summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-06-30 13:56:25 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-06-30 13:56:25 +0200
commit646f2f1d414cd782f0a176b750915001c457863a (patch)
treeb5261d2d455dbe3b0100ccd28383c6b38fdb0e13 /apps/user_ldap
parent663cd7af4d2aa4cd715972885bf32ed29aa9f375 (diff)
downloadnextcloud-server-646f2f1d414cd782f0a176b750915001c457863a.tar.gz
nextcloud-server-646f2f1d414cd782f0a176b750915001c457863a.zip
adjust unit test
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/tests/group_ldap.php4
1 files changed, 4 insertions, 0 deletions
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');