diff -u b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php --- b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php +++ b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php @@ -332,15 +332,9 @@ * shortcut block. */ public function testShortcutBlockAccess() { - $this->drupalLogin($this->adminUser); // Creates a block instance and place in a region through api. $block = $this->drupalPlaceBlock('shortcuts'); - $this->drupalGet(''); - $this->assertBlockAppears($block); - - $this->drupalLogout(); - // Verify that users with the 'access shortcuts' permission can see the // shortcut block. $this->drupalLogin($this->shortcutUser);