From a180ffa1a171d32f12462f597a890a17bf75edb8 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 23 Jul 2024 11:42:21 +0100 Subject: [PATCH] update test names --- .../server/src/integrations/tests/sql.spec.ts | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/packages/server/src/integrations/tests/sql.spec.ts b/packages/server/src/integrations/tests/sql.spec.ts index 3b8bf1e8fd..fe7ab761ca 100644 --- a/packages/server/src/integrations/tests/sql.spec.ts +++ b/packages/server/src/integrations/tests/sql.spec.ts @@ -209,24 +209,7 @@ describe("SQL query builder", () => { }) }) - it("should not use a coalesce query for oracle when using the equals filter", () => { - let query = new Sql(SqlClient.ORACLE, limit)._query( - generateReadJson({ - filters: { - equal: { - name: "John", - }, - }, - }) - ) - - expect(query).not.toEqual({ - bindings: ["John", limit, 5000], - sql: `select * from (select * from (select * from (select * from "test" where COALESCE("test"."id" = :2, FALSE) order by "test"."id" asc) where rownum <= :2) "test" order by "test"."id" asc) where rownum <= :3`, - }) - }) - - it("should use a direct equality query for oracle when using the equals filter", () => { + it("should use an oracle compatible coalesce query for oracle when using the equals filter", () => { let query = new Sql(SqlClient.ORACLE, limit)._query( generateReadJson({ filters: { @@ -243,7 +226,7 @@ describe("SQL query builder", () => { }) }) - it("should use a direct equality query for oracle when using the not equals filter", () => { + it("should use an oracle compatible coalesce query for oracle when using the not equals filter", () => { let query = new Sql(SqlClient.ORACLE, limit)._query( generateReadJson({ filters: {