[Form][Validator][Intl] Fix tests
This commit is contained in:
parent
ad89564ebf
commit
e648a91259
@ -32,8 +32,6 @@ class LanguageTypeTest extends BaseTypeTest
|
||||
->createView()->vars['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('my', 'my', 'Burmese'), $choices);
|
||||
}
|
||||
|
@ -73,7 +73,6 @@ class LanguageValidatorTest extends ConstraintValidatorTestCase
|
||||
{
|
||||
return [
|
||||
['en'],
|
||||
['en_US'],
|
||||
['my'],
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user