diff --git a/test/public-api/notes.e2e-spec.ts b/test/public-api/notes.e2e-spec.ts index b349d56f9..d2185777b 100644 --- a/test/public-api/notes.e2e-spec.ts +++ b/test/public-api/notes.e2e-spec.ts @@ -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 () => {