From ed5e96959259974434002138ad172272cf159c6c Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 27 Jun 2024 17:11:45 +0300 Subject: [PATCH] fix api-gateway tests after changing empty order --- packages/cubejs-api-gateway/test/index.test.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/cubejs-api-gateway/test/index.test.ts b/packages/cubejs-api-gateway/test/index.test.ts index 44753d779265e..cccbc6a338996 100644 --- a/packages/cubejs-api-gateway/test/index.test.ts +++ b/packages/cubejs-api-gateway/test/index.test.ts @@ -284,7 +284,6 @@ describe('API Gateway', () => { { measures: ['Foo.bar'], timezone: 'UTC', - order: [], filters: [], rowLimit: 10000, limit: 10000, @@ -297,7 +296,6 @@ describe('API Gateway', () => { pivotQuery: { measures: ['Foo.bar'], timezone: 'UTC', - order: [], filters: [], rowLimit: 10000, limit: 10000, @@ -345,7 +343,6 @@ describe('API Gateway', () => { { measures: ['Foo.bar'], timezone: 'UTC', - order: [], filters: [{ member: 'Foo.bar', operator: 'gte', @@ -421,7 +418,6 @@ describe('API Gateway', () => { { measures: ['Foo.bar'], timezone: 'UTC', - order: [], filters: [], rowLimit: 2, limit: 2, @@ -434,7 +430,6 @@ describe('API Gateway', () => { pivotQuery: { measures: ['Foo.bar'], timezone: 'UTC', - order: [], filters: [], rowLimit: 2, limit: 2, @@ -736,7 +731,7 @@ describe('API Gateway', () => { const res = await req; expect(res.body).toMatchObject(successResult); }; - + const wrongPayloadsTestFactory = ({ route, wrongPayloads, scope }: { route: string, method: string,