[Form][Validator][Intl] Fix tests

This commit is contained in:
Roland Franssen 2019-09-27 15:17:00 +02:00 committed by Nicolas Grekas
parent ad89564ebf
commit e648a91259
2 changed files with 0 additions and 3 deletions

View File

@ -32,8 +32,6 @@ class LanguageTypeTest extends BaseTypeTest
->createView()->vars['choices']; ->createView()->vars['choices'];
$this->assertContainsEquals(new ChoiceView('en', 'en', 'English'), $choices); $this->assertContainsEquals(new ChoiceView('en', 'en', 'English'), $choices);
$this->assertContainsEquals(new ChoiceView('en_GB', 'en_GB', 'British English'), $choices);
$this->assertContainsEquals(new ChoiceView('en_US', 'en_US', 'American English'), $choices);
$this->assertContainsEquals(new ChoiceView('fr', 'fr', 'French'), $choices); $this->assertContainsEquals(new ChoiceView('fr', 'fr', 'French'), $choices);
$this->assertContainsEquals(new ChoiceView('my', 'my', 'Burmese'), $choices); $this->assertContainsEquals(new ChoiceView('my', 'my', 'Burmese'), $choices);
} }

View File

@ -73,7 +73,6 @@ class LanguageValidatorTest extends ConstraintValidatorTestCase
{ {
return [ return [
['en'], ['en'],
['en_US'],
['my'], ['my'],
]; ];
} }