Skip to content

Commit

Permalink
add test for member_of comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartel1 committed Jun 9, 2019
1 parent 710936b commit 4c83357
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function comparisonData()
[$cb->notIn('field', ['value']), $qb->notIn('o.field', ':field'), new Parameter('field', ['value'])],

[$cb->contains('field', 'value'), $qb->like('o.field', ':field'), new Parameter('field', '%value%')],
[$cb->memberOf(':field', 'o.field'), $qb->isMemberOf(':field', 'o.field')],

[$cb->startsWith('field', 'value'), $qb->like('o.field', ':field'), new Parameter('field', 'value%')],
[$cb->endsWith('field', 'value'), $qb->like('o.field', ':field'), new Parameter('field', '%value')],
Expand Down

0 comments on commit 4c83357

Please sign in to comment.