mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 14:25:38 -04:00
fix: change property name in backend DTO
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
a8b3b117dc
commit
5d396eb99c
3 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
* SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
@ -147,7 +147,7 @@ describe('UsersService', () => {
|
|||
const userDto = service.toUserDto(user);
|
||||
expect(userDto.username).toEqual(username);
|
||||
expect(userDto.displayName).toEqual(displayname);
|
||||
expect(userDto.photo).toEqual('');
|
||||
expect(userDto.photoUrl).toEqual('');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -159,7 +159,7 @@ describe('UsersService', () => {
|
|||
const userDto = service.toFullUserDto(user);
|
||||
expect(userDto.username).toEqual(username);
|
||||
expect(userDto.displayName).toEqual(displayname);
|
||||
expect(userDto.photo).toEqual('');
|
||||
expect(userDto.photoUrl).toEqual('');
|
||||
expect(userDto.email).toEqual('');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue