diff --git a/modules/shortcut/shortcut.test b/modules/shortcut/shortcut.test index e6b0cdf..80ae195 100644 --- a/modules/shortcut/shortcut.test +++ b/modules/shortcut/shortcut.test @@ -158,7 +158,7 @@ class ShortcutLinksTestCase extends ShortcutTestCase { ); $this->drupalPost('admin/config/user-interface/shortcut/' . $set->set_name . '/add-link', $form_data, t('Save')); $this->assertResponse(200); - $disabled_shortcut_message = t('Only @limit links can be enabled in a shortcut set. The previous last shortcut @last_shortcut was disabled.', array('@limit' => $shortcut_limit, '@last_shortcut' => $link_title)); + $disabled_shortcut_message = t('Only @limit links can be enabled in a shortcut set. The shortcut @last_shortcut was disabled.', array('@limit' => $shortcut_limit, '@last_shortcut' => $link_title)); if($enabled_shortcuts >= $shortcut_limit) { $this->assertText($disabled_shortcut_message, 'The maximum number of visible shortcuts has been exceeded.'); }