diff --git a/core/modules/views/src/Tests/Plugin/DisplayTest.php b/core/modules/views/src/Tests/Plugin/DisplayTest.php index e224403..81bb1c2 100644 --- a/core/modules/views/src/Tests/Plugin/DisplayTest.php +++ b/core/modules/views/src/Tests/Plugin/DisplayTest.php @@ -352,6 +352,7 @@ public function testOutputIsEmpty() { */ public function testTranslationSetting() { \Drupal::service('module_installer')->install(['file']); + \Drupal::service('router.builder')->rebuild(); // By default there should be no language settings. $this->checkTranslationSetting();