You are here

function ShortcutSetsTestCase::testShortcutSetDeleteDefault in Drupal 7

Tests deleting the default shortcut set.

File

modules/shortcut/shortcut.test, line 367
Tests for shortcut.module.

Class

ShortcutSetsTestCase
Defines shortcut set test cases.

Code

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