diff --git a/core/modules/field_ui/src/Tests/EntityDisplayTest.php b/core/modules/field_ui/src/Tests/EntityDisplayTest.php index 82dc8ab..7ecf457 100644 --- a/core/modules/field_ui/src/Tests/EntityDisplayTest.php +++ b/core/modules/field_ui/src/Tests/EntityDisplayTest.php @@ -211,7 +211,8 @@ public function testFieldComponent() { // Check that the getFormatter() method returns the correct formatter plugin. $formatter = $display->getRenderer($field_name); $this->assertEqual($formatter->getPluginId(), $default_formatter); - $this->assertEqual($formatter->getSettings(), $formatter_settings); + $expected = $formatter_settings + array('settings_langcode' => 'en'); + $this->assertEqual($formatter->getSettings(), $expected); // Check that the formatter is statically persisted, by assigning an // arbitrary property and reading it back.