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:
David Mehren 2020-09-22 21:11:56 +02:00
parent a98c4fbb1b
commit a3ba5bccf7
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -118,7 +118,7 @@ describe('Notes', () => {
.get('/notes/test7/revisions')
.expect('Content-Type', /json/)
.expect(200);
expect(response.body.revisions).toHaveLength(1);
expect(response.body).toHaveLength(1);
});
it(`GET /notes/{note}/revisions/{revision-id}`, async () => {