Skip to content

Commit d0ca3e6

Browse files
committed
test: fix test data
$cleanValidationRules removes rules for missing keys.
1 parent 75a6eb2 commit d0ca3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Models/ValidationModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ public function testInsertEntityValidateEntireRules()
469469
$entity = new SimpleEntity();
470470
$entity->setAttributes([
471471
'field1' => 'value1',
472-
'field2' => '',
472+
// field2 is missing
473473
'field3' => '',
474474
'field4' => '',
475475
]);

0 commit comments

Comments
 (0)