adapt tests for nc19
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
ebb565f7a8
commit
8fd575527d
|
@ -123,6 +123,9 @@ class Group_LDAPTest extends TestCase {
|
||||||
$access->expects($this->any())
|
$access->expects($this->any())
|
||||||
->method('isDNPartOfBase')
|
->method('isDNPartOfBase')
|
||||||
->willReturn(true);
|
->willReturn(true);
|
||||||
|
$access->expects($this->any())
|
||||||
|
->method('combineFilterWithAnd')
|
||||||
|
->willReturn('pseudo=filter');
|
||||||
|
|
||||||
// for primary groups
|
// for primary groups
|
||||||
$access->expects($this->once())
|
$access->expects($this->once())
|
||||||
|
@ -172,6 +175,9 @@ class Group_LDAPTest extends TestCase {
|
||||||
$access->expects($this->any())
|
$access->expects($this->any())
|
||||||
->method('isDNPartOfBase')
|
->method('isDNPartOfBase')
|
||||||
->willReturn(true);
|
->willReturn(true);
|
||||||
|
$access->expects($this->any())
|
||||||
|
->method('combineFilterWithAnd')
|
||||||
|
->willReturn('pseudo=filter');
|
||||||
|
|
||||||
$access->userManager->expects($this->any())
|
$access->userManager->expects($this->any())
|
||||||
->method('getAttributes')
|
->method('getAttributes')
|
||||||
|
@ -637,6 +643,9 @@ class Group_LDAPTest extends TestCase {
|
||||||
$access->expects($this->any())
|
$access->expects($this->any())
|
||||||
->method('isDNPartOfBase')
|
->method('isDNPartOfBase')
|
||||||
->willReturn(true);
|
->willReturn(true);
|
||||||
|
$access->expects($this->any())
|
||||||
|
->method('combineFilterWithAnd')
|
||||||
|
->willReturn('pseudo=filter');
|
||||||
|
|
||||||
$access->userManager->expects($this->any())
|
$access->userManager->expects($this->any())
|
||||||
->method('getAttributes')
|
->method('getAttributes')
|
||||||
|
|
Loading…
Reference in New Issue