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:
Fabien Potencier 2015-01-25 02:23:21 +01:00
commit 24d0748cc4
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ abstract class AbstractConstraintValidatorTest extends \PHPUnit_Framework_TestCa
$translator
);
break;
case Validation::API_VERSION_2_4:
case Validation::API_VERSION_2_5_BC:
$context = new LegacyExecutionContext(
$validator,