Skip to content

Commit

Permalink
Test dollar sign in query props
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellmorten committed Mar 30, 2018
1 parent 48bae07 commit abf3fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/adapter/send-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit abf3fd7

Please sign in to comment.