From 8fd575527d5935e0e33abb3db0d1543e1bd91ef7 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 12 Aug 2020 10:23:13 +0200 Subject: [PATCH] adapt tests for nc19 Signed-off-by: Arthur Schiwon --- apps/user_ldap/tests/Group_LDAPTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php index 1d6abeb7e8..60ec90c1ef 100644 --- a/apps/user_ldap/tests/Group_LDAPTest.php +++ b/apps/user_ldap/tests/Group_LDAPTest.php @@ -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')