diff --git a/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php b/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php index 9d714a0..e971f52 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php @@ -19,7 +19,7 @@ class UserAccountLinksTests extends WebTestBase { * * @var array */ - public static $modules = array('menu', 'block'); + public static $modules = array('menu', 'block', 'test_page_test'); public static function getInfo() { return array( @@ -29,6 +29,12 @@ public static function getInfo() { ); } + function setUp() { + // Make test-page default. + parent::setUp(); + config('system.site')->set('page.front', 'test-page')->save(); +} + /** * Tests the secondary menu. */