diff --git a/tests/system/Validation/StrictRules/FormatRulesTest.php b/tests/system/Validation/StrictRules/FormatRulesTest.php index 5976b54cc371..33e75ab8ab1f 100644 --- a/tests/system/Validation/StrictRules/FormatRulesTest.php +++ b/tests/system/Validation/StrictRules/FormatRulesTest.php @@ -473,7 +473,7 @@ public function alphaSpaceProvider(): Generator yield from [ [ null, - false, // true in v4.1.6 and earlier + false, // true in Traditional Rule ], [ self::ALPHABET, @@ -840,17 +840,17 @@ public function integerInvalidTypeDataProvider(): Generator { yield 'array with int' => [ [555], - false, // true in v4.1.5 and earlier + false, // TypeError in Traditional Rule ]; yield 'empty array' => [ [], - false, // true in v4.1.5 and earlier + false, // TypeError in Traditional Rule ]; yield 'bool true' => [ true, - false, // true in v4.1.5 and earlier + false, // true in Traditional Rule ]; yield 'bool false' => [ diff --git a/tests/system/Validation/StrictRules/ValidationTest.php b/tests/system/Validation/StrictRules/ValidationTest.php index d7a6d5893e97..cf016756fc7a 100644 --- a/tests/system/Validation/StrictRules/ValidationTest.php +++ b/tests/system/Validation/StrictRules/ValidationTest.php @@ -120,7 +120,7 @@ public function arrayDataProvider(): Generator { yield 'list array' => [ [1, 2, 3, 4, 5], - true, // false in v4.1.5 and earlier + true, // false in Traditional Rule ]; yield 'associative array' => [ @@ -129,7 +129,7 @@ public function arrayDataProvider(): Generator 'role' => 'administrator', 'usepass' => 0, ], - true, // false in v4.1.5 and earlier + true, // false in Traditional Rule ]; yield 'int' => [ @@ -172,7 +172,7 @@ public function isIntInvalidTypeDataProvider(): Generator { yield 'array with int' => [ [555], - false, // true in v4.1.5 and earlier + false, // true in Traditional Rule ]; yield 'empty array' => [