From 4649b6e79686fe8f03fbada3ada117c4fd9eb197 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Tue, 22 Sep 2020 21:11:56 +0200 Subject: [PATCH] Note E2E tests: The response for the /notes//revision route does not contain a `revisions` property Signed-off-by: David Mehren --- test/public-api/notes.e2e-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {