mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 23:24:46 -04:00
test: fix e2e test error codes
As these were changed with the openapi decorator the test need to reflect this. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
89aac9d4b6
commit
cae55e0baa
4 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
@ -96,7 +96,7 @@ describe('Me', () => {
|
|||
.send({
|
||||
name: newDisplayName,
|
||||
})
|
||||
.expect(200);
|
||||
.expect(201);
|
||||
const dbUser = await testSetup.userService.getUserByUsername('hardcoded');
|
||||
expect(dbUser.displayName).toEqual(newDisplayName);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue