minor #13511 [Validator] re-added support for 2.4 API version in tests (fabpot)
This PR was merged into the 2.7 branch.
Discussion
----------
[Validator] re-added support for 2.4 API version in tests
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Alternative to #13414
Commits
-------
b72ef6b
[Validator] re-added support for 2.4 API version in tests
This commit is contained in:
commit
24d0748cc4
|
@ -113,6 +113,7 @@ abstract class AbstractConstraintValidatorTest extends \PHPUnit_Framework_TestCa
|
||||||
$translator
|
$translator
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
case Validation::API_VERSION_2_4:
|
||||||
case Validation::API_VERSION_2_5_BC:
|
case Validation::API_VERSION_2_5_BC:
|
||||||
$context = new LegacyExecutionContext(
|
$context = new LegacyExecutionContext(
|
||||||
$validator,
|
$validator,
|
||||||
|
|
Reference in New Issue