Re-enabling tests for cds.ql where clauses fix (#403)
This commit is contained in:
@@ -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) {
|
if (ql_with_groups_fix) {
|
||||||
|
|
||||||
expect (
|
expect (
|
||||||
@@ -460,7 +460,7 @@ describe('cds.ql → cqn', () => {
|
|||||||
}})
|
}})
|
||||||
|
|
||||||
expect (
|
expect (
|
||||||
SELECT.from(Foo).where({x:1,or:{y:2}})
|
{ SELECT: SELECT.from(Foo).where({x:1,or:{y:2}}).SELECT }
|
||||||
).to.eql ({ SELECT: {
|
).to.eql ({ SELECT: {
|
||||||
from: {ref:['Foo']},
|
from: {ref:['Foo']},
|
||||||
where: [
|
where: [
|
||||||
|
|||||||
Reference in New Issue
Block a user