diff --git a/test/cds.ql.test.js b/test/cds.ql.test.js index 62fd9488..80b89ab1 100644 --- a/test/cds.ql.test.js +++ b/test/cds.ql.test.js @@ -280,7 +280,7 @@ describe('cds.ql → cqn', () => { ).to.eql({ SELECT: { from: { ref: ['Foo'] }, - where: cdr + where: cds.version >= '5.3.0' ? [ // '(', //> this one is not required { ref: ['ID'] }, @@ -289,7 +289,7 @@ describe('cds.ql → cqn', () => { 'and', { ref: ['args'] }, 'in', - { val: args }, + { list: [{ val: 'foo' }, { val: 'bar' }, { val: 3 }] }, 'and', '(', //> this one is missing, and that's changing the logic -> that's a BUG { ref: ['x'] }, @@ -309,7 +309,7 @@ describe('cds.ql → cqn', () => { 'and', { ref: ['args'] }, 'in', - { list: [{ val: 'foo' }, { val: 'bar' }, { val: 3 }] }, + { val: args }, 'and', '(', //> this one is missing, and that's changing the logic -> that's a BUG { ref: ['x'] },