diff --git a/src/Symfony/Component/Translation/Tests/DataCollectorTranslatorTest.php b/src/Symfony/Component/Translation/Tests/DataCollectorTranslatorTest.php index 06f4b20ba6..d3de1e259f 100644 --- a/src/Symfony/Component/Translation/Tests/DataCollectorTranslatorTest.php +++ b/src/Symfony/Component/Translation/Tests/DataCollectorTranslatorTest.php @@ -99,6 +99,7 @@ class DataCollectorTranslatorTest extends TestCase 'id' => 'choice', 'translation' => 'choice', 'locale' => 'en', + 'fallbackLocale' => null, 'domain' => 'messages', 'state' => DataCollectorTranslator::MESSAGE_MISSING, 'parameters' => ['%count%' => 0], diff --git a/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php index 63b481eaa8..b1e93c84bd 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php @@ -92,6 +92,7 @@ class UrlValidatorTest extends ConstraintValidatorTestCase { return [ ['//example.com'], + ['//examp_le.com'], ['//symfony.fake/blog/'], ['//symfony.com/search?type=&q=url+validator'], ]; @@ -217,7 +218,6 @@ class UrlValidatorTest extends ConstraintValidatorTestCase { return [ ['/example.com'], - ['//examp_le.com'], ['//example.com::aa'], ['//example.com:aa'], ['//127.0.0.1:aa/'],