minor #40931 [Translation] [CI] Set default locale for IdentityTranslatorTest (Nyholm)

This PR was merged into the 4.4 branch.

Discussion
----------

[Translation] [CI] Set default locale for IdentityTranslatorTest

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix
| License       | MIT
| Doc PR        |

This will fix a few CI issues. Not sure if this is the correct fix.

Commits
-------

92a61b1cf6 [Translation] Set default locale for IdentityTranslatorTest
This commit is contained in:
Nicolas Grekas 2021-05-07 14:15:21 +02:00
commit c276f0dfd6
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class IdentityTranslatorTest extends TranslatorTest
parent::setUp();
$this->defaultLocale = \Locale::getDefault();
\Locale::setDefault('en');
}
protected function tearDown(): void