mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
test: fix note e2e test 'fails with non-existing alias'
Because the rejection now happens automatically in the permissions guard it does not get to the controller method and does not report the Content-Type to text/markdown Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
988909eb0b
commit
0cb3b65998
1 changed files with 0 additions and 1 deletions
|
@ -396,7 +396,6 @@ describe('Notes', () => {
|
|||
// check if a missing note correctly returns 404
|
||||
await request(testSetup.app.getHttpServer())
|
||||
.get('/api/v2/notes/i_dont_exist/content')
|
||||
.expect('Content-Type', /text\/markdown/)
|
||||
.expect(404);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue