function ShortcutSetsTestCase::testShortcutSetDeleteDefault

7.x shortcut.test ShortcutSetsTestCase::testShortcutSetDeleteDefault()

Tests deleting the default shortcut set.

File

drupal-7.x/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);
}