aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-12-19 11:59:45 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-12-19 11:59:45 +0100
commit723c1b8adc4337dbbcf2598cf37bf37b099eb148 (patch)
treee37567dbeb504af2add08a56e1e121028f246b88 /apps/user_ldap
parent9e1dd52c998ed7c9feb6ba9a1a64f0c6856fd8fa (diff)
downloadnextcloud-server-723c1b8adc4337dbbcf2598cf37bf37b099eb148.tar.gz
nextcloud-server-723c1b8adc4337dbbcf2598cf37bf37b099eb148.zip
Fix user_ldap tests now that list of groups gets cached
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/tests/AccessTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/AccessTest.php b/apps/user_ldap/tests/AccessTest.php
index c2902a67766..ce05839c842 100644
--- a/apps/user_ldap/tests/AccessTest.php
+++ b/apps/user_ldap/tests/AccessTest.php
@@ -678,7 +678,7 @@ class AccessTest extends TestCase {
$this->groupMapper->expects($this->never())
->method('getNameByDN');
- $this->connection->expects($this->exactly(2))
+ $this->connection->expects($this->exactly(3))
->method('writeToCache');
$groups = $this->access->fetchListOfGroups($filter, $attributes);