adjust unit test

This commit is contained in:
Arthur Schiwon 2015-06-30 13:56:25 +02:00
parent 663cd7af4d
commit 646f2f1d41
1 changed files with 4 additions and 0 deletions

View File

@ -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');