diff --git a/core/modules/system/src/Tests/System/FrontPageTest.php b/core/modules/system/src/Tests/System/FrontPageTest.php index aeb758c..dc8f376 100644 --- a/core/modules/system/src/Tests/System/FrontPageTest.php +++ b/core/modules/system/src/Tests/System/FrontPageTest.php @@ -29,7 +29,7 @@ protected function setUp() { // Create admin user, log in admin user, and create one node. $this->admin_user = $this->drupalCreateUser(array('access content', 'administer site configuration')); $this->drupalLogin($this->admin_user); - $this->node_path = "node/" . $this->drupalCreateNode(array('promote' => 1))->id(); + $this->node_path = "node/" . $this->drupalCreateNode(array('promote' => 1, 'langcode' => 'en'))->id(); // Configure 'node' as front page. \Drupal::config('system.site')->set('page.front', 'node')->save();