Skip to content

Commit e791fa0

Browse files
committed
[Form] fix tests
1 parent 193d5c8 commit e791fa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Form/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)