diff --git a/test/cds.ql.test.js b/test/cds.ql.test.js index 3f070111..dd203f5c 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: args.map(val => ({ val })) }, 'and', '(', //> this one is missing, and that's changing the logic -> that's a BUG { ref: ['x'] },