Skip to content

Commit cd000b4

Browse files
committed
Add IN and NOT IN operators to TestTableEntry
1 parent 97adb4e commit cd000b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/Driver/Test/TestTableEntry.php

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ public function matchesWhereCondition(WhereCondition $where): bool
7373
"<=" => $dataValue <= $whereValue,
7474
"like" => $this->matchesLike($whereValue, $dataValue),
7575
"not like" => !$this->matchesLike($whereValue, $dataValue),
76+
"in" => in_array($dataValue, $whereValue, true),
77+
"not in" => !in_array($dataValue, $whereValue, true),
7678
default => false,
7779
};
7880
}

0 commit comments

Comments
 (0)