You are here

function ShortcutSetsTest::testShortcutSetDeleteDefault in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/shortcut/src/Tests/ShortcutSetsTest.php \Drupal\shortcut\Tests\ShortcutSetsTest::testShortcutSetDeleteDefault()

Tests deleting the default shortcut set.

File

core/modules/shortcut/src/Tests/ShortcutSetsTest.php, line 199
Contains \Drupal\shortcut\Tests\ShortcutSetsTest.

Class

ShortcutSetsTest
Create, view, edit, delete, and change shortcut sets.

Namespace

Drupal\shortcut\Tests

Code

function testShortcutSetDeleteDefault() {
  $this
    ->drupalGet('admin/config/user-interface/shortcut/manage/default/delete');
  $this
    ->assertResponse(403);
}