Skip to content

Commit

Permalink
Normalize new "test_run_id" property in self-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Jan 16, 2024
1 parent 341b639 commit 6a7e789
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _tests/tests/QITE2ETestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ public function validate_and_normalize( string $file_path, ?callable $callback =
}

$rules = [
'test_run_id' => [
'normalize' => 123456,
'validate' => static function ( $value ) {
return preg_match( '/^\d+$/', $value );
}
],
'run_id' => [
'normalize' => 123456,
'validate' => static function ( $value ) {
Expand Down

0 comments on commit 6a7e789

Please sign in to comment.