diff --git a/lib/adapter/send-test.js b/lib/adapter/send-test.js index 44bcbd6..5e473ce 100644 --- a/lib/adapter/send-test.js +++ b/lib/adapter/send-test.js @@ -87,13 +87,13 @@ test('should get with query', async (t) => { db: 'database', query: [ {path: 'type', param: 'type'}, - {path: 'attributes\\.title', value: 'Entry 2'} + {path: 'attributes\\.age.$gt', value: 18} ] } } const expected = { type: 'entry', - 'attributes.title': 'Entry 2' + 'attributes.age': {$gt: 18} } await send(request, connection)