diff --git a/core/modules/system/src/Tests/System/ThemeTest.php b/core/modules/system/src/Tests/System/ThemeTest.php index aeb5a2b..6912afb 100644 --- a/core/modules/system/src/Tests/System/ThemeTest.php +++ b/core/modules/system/src/Tests/System/ThemeTest.php @@ -210,7 +210,7 @@ function testAdministrationTheme() { $this->assertRaw('core/themes/seven', 'Administration theme used on an administration page.'); // Ensure that the admin theme is also visible on the 403 page. - $normal_user = $this->drupalCreateUser(); + $normal_user = $this->drupalCreateUser(['view the administration theme']); $this->drupalLogin($normal_user); $this->drupalGet('admin/config'); $this->assertResponse(403);