Fix user_ldap tests now that list of groups gets cached

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2022-12-19 11:59:45 +01:00
parent 9e1dd52c99
commit 723c1b8adc
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -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);