Skip to content

Commit

Permalink
Add additional test case
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-moser committed Jul 31, 2024
1 parent 29ee5b5 commit a7b6511
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public function testPqlFilter()
'input = empty' => [$object3->getId(), $object4->getId()],
'input != empty' => [$object1->getId(), $object2->getId()],
'input = empty and input != ""' => [$object3->getId()],
'input is empty or ((number = 10 and input = "test1") or number = 20)' => [$object1->getId(), $object2->getId(), $object3->getId(), $object4->getId()],
];

foreach ($testCases as $query => $expectedIds) {
Expand Down

0 comments on commit a7b6511

Please sign in to comment.