adapt tests for nc19

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-08-12 10:23:13 +02:00
parent ebb565f7a8
commit 8fd575527d
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 9 additions and 0 deletions

View File

@ -123,6 +123,9 @@ class Group_LDAPTest extends TestCase {
$access->expects($this->any())
->method('isDNPartOfBase')
->willReturn(true);
$access->expects($this->any())
->method('combineFilterWithAnd')
->willReturn('pseudo=filter');
// for primary groups
$access->expects($this->once())
@ -172,6 +175,9 @@ class Group_LDAPTest extends TestCase {
$access->expects($this->any())
->method('isDNPartOfBase')
->willReturn(true);
$access->expects($this->any())
->method('combineFilterWithAnd')
->willReturn('pseudo=filter');
$access->userManager->expects($this->any())
->method('getAttributes')
@ -637,6 +643,9 @@ class Group_LDAPTest extends TestCase {
$access->expects($this->any())
->method('isDNPartOfBase')
->willReturn(true);
$access->expects($this->any())
->method('combineFilterWithAnd')
->willReturn('pseudo=filter');
$access->userManager->expects($this->any())
->method('getAttributes')