From b36971210c8bea931d8c137a2ef07d45208b2387 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Tue, 4 Aug 2015 08:29:50 +0100 Subject: [PATCH] [Validator] Require the intl extension to be installed for one of the test cases Requiring a specific version of the intl data is not sufficient, we need the extension to be installed. --- .../Tests/Constraints/AbstractComparisonValidatorTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php b/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php index d42c0aad5221..30baf59536bc 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php @@ -78,7 +78,7 @@ public function testInvalidComparisonToValue($dirtyValue, $dirtyValueAsString, $ // Conversion of dates to string differs between ICU versions // Make sure we have the correct version loaded if ($dirtyValue instanceof \DateTime) { - IntlTestHelper::requireIntl($this); + IntlTestHelper::requireFullIntl($this); } $constraint = $this->createConstraint(array('value' => $comparedValue));