Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #21886 [Form] Add validate method to mockec validator in form T…
…ypeTestCase (pierredup) This PR was merged into the 2.7 branch. Discussion ---------- [Form] Add validate method to mockec validator in form TypeTestCase | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A When using the `Symfony\Component\Form\Tests\Extension\Validator\Type\TypeTestCase` class to unit test forms, the `validate` method is not mocked, which causes errors when the unit tests run. Commits ------- 4013e7b Add validate method to mockec validator in form TypeTestCase
- Loading branch information