Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 82a62d2

Browse filesBrowse files
minor #33739 [Form][Validator][Intl] Fix tests (ro0NL)
This PR was merged into the 3.4 branch. Discussion ---------- [Form][Validator][Intl] Fix tests | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #33148 (comment) | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against branch 4.4. - Legacy code removals go to the master branch. --> Commits ------- e648a91 [Form][Validator][Intl] Fix tests
2 parents ad89564 + e648a91 commit 82a62d2
Copy full SHA for 82a62d2

File tree

Expand file treeCollapse file tree

2 files changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+0
-3
lines changed

‎src/Symfony/Component/Form/Tests/Extension/Core/Type/LanguageTypeTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/LanguageTypeTest.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ public function testCountriesAreSelectable()
3232
->createView()->vars['choices'];
3333

3434
$this->assertContainsEquals(new ChoiceView('en', 'en', 'English'), $choices);
35-
$this->assertContainsEquals(new ChoiceView('en_GB', 'en_GB', 'British English'), $choices);
36-
$this->assertContainsEquals(new ChoiceView('en_US', 'en_US', 'American English'), $choices);
3735
$this->assertContainsEquals(new ChoiceView('fr', 'fr', 'French'), $choices);
3836
$this->assertContainsEquals(new ChoiceView('my', 'my', 'Burmese'), $choices);
3937
}

‎src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/LanguageValidatorTest.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public function getValidLanguages()
7373
{
7474
return [
7575
['en'],
76-
['en_US'],
7776
['my'],
7877
];
7978
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.