| 7 shortcut.test | ShortcutLinksTestCase::testShortcutQuickLink() |
| 8 shortcut.test | ShortcutLinksTestCase::testShortcutQuickLink() |
Tests that the "add to shortcut" link changes to "remove shortcut".
File
- modules/
shortcut/ shortcut.test, line 152 - Tests for shortcut.module.
Code
function testShortcutQuickLink() {
$this->drupalGet($this->set->links[0]['link_path']);
$this->assertRaw(t('Remove from %title shortcuts', array('%title' => $this->set->title)), '"Add to shortcuts" link properly switched to "Remove from shortcuts".');
}
Login or register to post comments