diff --git a/core/modules/shortcut/src/Tests/ShortcutLinksTest.php b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php index 89a2183..ed054f7 100644 --- a/core/modules/shortcut/src/Tests/ShortcutLinksTest.php +++ b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php @@ -260,13 +260,13 @@ public function testAccessShortcutsPermission() { // Verify that users without the 'access shortcuts' permission can't see the // shortcuts. $this->drupalLogin($this->drupalCreateUser(array('access toolbar'))); - $this->assertNoLink('Shortcuts', 0, 'Shortcut link not found on page.'); + $this->assertNoLink('Shortcuts', 'Shortcut link not found on page.'); // Verify that users without the 'administer site configuration' permission // can't see the cron shortcuts. $this->drupalLogin($this->drupalCreateUser(array('access toolbar', 'access shortcuts'))); - $this->assertNoLink('Shortcuts', 0, 'Shortcut link not found on page.'); - $this->assertNoLink('Cron', 0, 'Cron shortcut link not found on page.'); + $this->assertNoLink('Shortcuts', 'Shortcut link not found on page.'); + $this->assertNoLink('Cron', 'Cron shortcut link not found on page.'); // Verify that users with the 'access shortcuts' permission can see the // shortcuts.