mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-28 22:15:12 -04:00
refactor(register-dto): rename displayname -> displayName
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
6f1bdcbaa5
commit
64b16c831e
4 changed files with 12 additions and 12 deletions
|
@ -29,7 +29,7 @@ describe('Register and Login', () => {
|
|||
test('a user can successfully create a local account and log in', async () => {
|
||||
// register a new user
|
||||
const registrationDto: RegisterDto = {
|
||||
displayname: DISPLAYNAME,
|
||||
displayName: DISPLAYNAME,
|
||||
password: PASSWORD,
|
||||
username: USERNAME,
|
||||
};
|
||||
|
@ -67,7 +67,7 @@ describe('Register and Login', () => {
|
|||
test('a username cannot be used twice', async () => {
|
||||
// register a new user
|
||||
const registrationDto: RegisterDto = {
|
||||
displayname: DISPLAYNAME,
|
||||
displayName: DISPLAYNAME,
|
||||
password: PASSWORD,
|
||||
username: USERNAME,
|
||||
};
|
||||
|
@ -88,7 +88,7 @@ describe('Register and Login', () => {
|
|||
test('a user can create a local account and change the password', async () => {
|
||||
// register a new user
|
||||
const registrationDto: RegisterDto = {
|
||||
displayname: DISPLAYNAME,
|
||||
displayName: DISPLAYNAME,
|
||||
password: PASSWORD,
|
||||
username: USERNAME,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue