From 04054cf6528531918a2c8e90cf68dc08b47bc74a Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 25 Nov 2021 11:52:02 +0000 Subject: [PATCH] Update tests --- packages/server/src/api/routes/tests/query.spec.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/server/src/api/routes/tests/query.spec.js b/packages/server/src/api/routes/tests/query.spec.js index 6b9be7447f..f5ba497d1b 100644 --- a/packages/server/src/api/routes/tests/query.spec.js +++ b/packages/server/src/api/routes/tests/query.spec.js @@ -19,10 +19,12 @@ describe("/queries", () => { }) async function createInvalidIntegration() { - const datasource = await config.createDatasource({datasource: { - ...basicDatasource().datasource, - source: "INVALID_INTEGRATION", - }}) + const datasource = await config.createDatasource({ + datasource: { + ...basicDatasource().datasource, + source: "INVALID_INTEGRATION", + }, + }) const query = await config.createQuery() return { datasource, query } } @@ -98,7 +100,6 @@ describe("/queries", () => { .expect("Content-Type", /json/) expect(res.body.fields).toBeUndefined() expect(res.body.parameters).toBeUndefined() - expect(res.body.schema).toBeUndefined() }) }) })