Skip to content

Commit 0ed5776

Browse files
joshtrichardsbackportbot[bot]
authored andcommitted
test(user_ldap): return empty string for unset ldapUserDisplayName2 as per implementation
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 65f7056 commit 0ed5776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/user_ldap/tests/AccessTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ public function testUserStateUpdate(): void {
708708
->method('__get')
709709
->willReturnMap([
710710
[ 'ldapUserDisplayName', 'displayName' ],
711-
[ 'ldapUserDisplayName2', null],
711+
[ 'ldapUserDisplayName2', ''],
712712
]);
713713

714714
$offlineUserMock = $this->createMock(OfflineUser::class);

0 commit comments

Comments
 (0)