From 976fca6ddea325bd7fcf9c19b914cfef0c33d449 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 30 Sep 2021 12:55:21 +0100 Subject: [PATCH] Fixing view test case. --- packages/server/src/api/routes/tests/row.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/api/routes/tests/row.spec.js b/packages/server/src/api/routes/tests/row.spec.js index d089d7775d..01284552c5 100644 --- a/packages/server/src/api/routes/tests/row.spec.js +++ b/packages/server/src/api/routes/tests/row.spec.js @@ -317,7 +317,7 @@ describe("/rows", () => { await request .get(`/api/views/derp`) .set(config.defaultHeaders()) - .expect(400) + .expect(404) }) it("should be able to run on a view", async () => { @@ -394,4 +394,4 @@ describe("/rows", () => { }) }) }) -}) \ No newline at end of file +})