diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php index a080852c2acd1..c6693020f83ae 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CountryValidatorTest.php @@ -82,7 +82,7 @@ public function testInvalidCountries($country) $this->validator->validate($country, $constraint); $this->assertViolation('myMessage', array( - '{{ value }}' => $country, + '{{ value }}' => '"'.$country.'"', )); } diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CurrencyValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CurrencyValidatorTest.php index 99636e6ca4f06..0480b60ed7078 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CurrencyValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CurrencyValidatorTest.php @@ -96,7 +96,7 @@ public function testInvalidCurrencies($currency) $this->validator->validate($currency, $constraint); $this->assertViolation('myMessage', array( - '{{ value }}' => $currency, + '{{ value }}' => '"'.$currency.'"', )); } diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php index 98f7533cb8a58..ad2b1e89715cb 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php @@ -14,7 +14,6 @@ use Symfony\Component\Intl\Util\IntlTestHelper; use Symfony\Component\Validator\Constraints\Language; use Symfony\Component\Validator\Constraints\LanguageValidator; -use Symfony\Component\Validator\Validation; class LanguageValidatorTest extends AbstractConstraintValidatorTest { @@ -83,7 +82,7 @@ public function testInvalidLanguages($language) $this->validator->validate($language, $constraint); $this->assertViolation('myMessage', array( - '{{ value }}' => $language, + '{{ value }}' => '"'.$language.'"', )); } diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php index 5d40dd20bd3ae..8c76485e53343 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php @@ -14,7 +14,6 @@ use Symfony\Component\Intl\Util\IntlTestHelper; use Symfony\Component\Validator\Constraints\Locale; use Symfony\Component\Validator\Constraints\LocaleValidator; -use Symfony\Component\Validator\Validation; class LocaleValidatorTest extends AbstractConstraintValidatorTest { @@ -85,7 +84,7 @@ public function testInvalidLocales($locale) $this->validator->validate($locale, $constraint); $this->assertViolation('myMessage', array( - '{{ value }}' => $locale, + '{{ value }}' => '"'.$locale.'"', )); }