mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 16:22:05 +00:00
Note E2E tests: The response for the /notes/<id>/revision route does not contain a revisions
property
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
711358ec0c
commit
4649b6e796
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ describe('Notes', () => {
|
||||||
.get('/notes/test7/revisions')
|
.get('/notes/test7/revisions')
|
||||||
.expect('Content-Type', /json/)
|
.expect('Content-Type', /json/)
|
||||||
.expect(200);
|
.expect(200);
|
||||||
expect(response.body.revisions).toHaveLength(1);
|
expect(response.body).toHaveLength(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`GET /notes/{note}/revisions/{revision-id}`, async () => {
|
it(`GET /notes/{note}/revisions/{revision-id}`, async () => {
|
||||||
|
|
Loading…
Reference in a new issue