[Pkg-owncloud-commits] [owncloud] 192/205: adjust unit test
David Prévot
taffit at moszumanska.debian.org
Thu Jul 2 17:37:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 646f2f1d414cd782f0a176b750915001c457863a
Author: Arthur Schiwon <blizzz at owncloud.com>
Date: Tue Jun 30 13:56:25 2015 +0200
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 aeb3061..f716618 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');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list