From 36b339a36243fc424ddb10da38f25ad1cf504d60 Mon Sep 17 00:00:00 2001 From: Daniel Hutzel Date: Tue, 20 Sep 2022 16:52:40 +0200 Subject: [PATCH] Re-enabling tests for cds.ql where clauses fix (#403) --- test/cds.ql.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cds.ql.test.js b/test/cds.ql.test.js index 9e27599e..e3c76e42 100644 --- a/test/cds.ql.test.js +++ b/test/cds.ql.test.js @@ -411,7 +411,7 @@ describe('cds.ql → cqn', () => { ] }}) - const ql_with_groups_fix = false + const ql_with_groups_fix = !!cds.ql.Query.prototype.flat if (ql_with_groups_fix) { expect ( @@ -460,7 +460,7 @@ describe('cds.ql → cqn', () => { }}) expect ( - SELECT.from(Foo).where({x:1,or:{y:2}}) + { SELECT: SELECT.from(Foo).where({x:1,or:{y:2}}).SELECT } ).to.eql ({ SELECT: { from: {ref:['Foo']}, where: [