Skip to content

Commit 393ab25

Browse files
committed
[Form] fix tests
1 parent c0e9735 commit 393ab25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/Extension/Validator/Constraints/FormValidatorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ public function testMissingConstraintIndex()
135135
$form = new FormBuilder('name', '\stdClass', $this->dispatcher, $this->factory);
136136
$form = $form->setData($object)->getForm();
137137

138+
$this->expectValidateAt(0, 'data', $object, 'Default');
139+
138140
$this->validator->validate($form, new Form());
139141

140142
$this->assertNoViolation();

0 commit comments

Comments
 (0)