Commit 79e2b976 authored by bojanz's avatar bojanz
Browse files

Issue #2859870 by bojanz: DefaultFormatterTest::testTaiwanAddress() is failing

parent 34060936
......@@ -89,6 +89,8 @@ class AddressDefaultFormatterTest extends FormatterTestBase {
public function testTaiwanAddress() {
$language = \Drupal::languageManager()->getLanguage('zh-hant');
\Drupal::languageManager()->setConfigOverrideLanguage($language);
// Reload the country repository for the new language to take effect.
$this->container->set('address.country_repository', NULL);
$entity = EntityTest::create([]);
$entity->{$this->fieldName} = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment