minor #17536 [Form] fix tests (xabbuh)
This PR was merged into the 2.7 branch.
Discussion
----------
[Form] fix tests
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
e791fa0
[Form] fix tests
This commit is contained in:
commit
234011d776
@ -135,6 +135,8 @@ class FormValidatorTest extends AbstractConstraintValidatorTest
|
||||
$form = new FormBuilder('name', '\stdClass', $this->dispatcher, $this->factory);
|
||||
$form = $form->setData($object)->getForm();
|
||||
|
||||
$this->expectValidateAt(0, 'data', $object, 'Default');
|
||||
|
||||
$this->validator->validate($form, new Form());
|
||||
|
||||
$this->assertNoViolation();
|
||||
|
Reference in New Issue
Block a user