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

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

@ -612,7 +612,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);