fix(ldap): Fix user_ldap attribute casing to fix tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/51255/head
Côme Chilliet 2024-07-29 15:32:43 +07:00 committed by max-nextcloud
parent c94fe15be5
commit 2be22193f1
1 changed files with 2 additions and 1 deletions

@ -632,7 +632,8 @@ class AccessTest extends TestCase {
$this->prepareMocksForSearchTests($base, $fakeConnection, $fakeSearchResultResource, $fakeLdapEntries);
$this->connection->expects($this->exactly($fakeLdapEntries['count']))
// Called twice per user, for userExists and userExistsOnLdap
$this->connection->expects($this->exactly(2 * $fakeLdapEntries['count']))
->method('writeToCache')
->with($this->stringStartsWith('userExists'), true);