diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-08-12 10:23:13 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-08-12 10:23:13 +0200 |
commit | 8fd575527d5935e0e33abb3db0d1543e1bd91ef7 (patch) | |
tree | a511b874f78db2604bf3112a0b293a36fb686a99 /apps/user_ldap | |
parent | ebb565f7a87109c9cef7a0d7a79eae100ce11bef (diff) | |
download | nextcloud-server-8fd575527d5935e0e33abb3db0d1543e1bd91ef7.tar.gz nextcloud-server-8fd575527d5935e0e33abb3db0d1543e1bd91ef7.zip |
adapt tests for nc19
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/tests/Group_LDAPTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php index 1d6abeb7e80..60ec90c1efb 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') |