diff --git a/modules/shortcut/shortcut.test b/modules/shortcut/shortcut.test index 951a5b4..e6b0cdf 100644 --- a/modules/shortcut/shortcut.test +++ b/modules/shortcut/shortcut.test @@ -143,7 +143,7 @@ class ShortcutLinksTestCase extends ShortcutTestCase { // Check if message for maximum number of visible shortcuts is displayed // when necessary. $this->drupalGet('admin/config/user-interface/shortcut/' . $set->set_name . '/add-link'); - $max_visible_shortcuts_message = t('Only @limit links can be enabled in a shortcut set. Adding a shortcut will disable the last shortcut: "@last_shortcut".', array('@limit' => $shortcut_limit, '@last_shortcut' => $link_title)); + $max_visible_shortcuts_message = t('Only @limit links can be enabled in a shortcut set. Adding a shortcut will disable the last shortcut: @last_shortcut.', array('@limit' => $shortcut_limit, '@last_shortcut' => $link_title)); if($enabled_shortcuts >= $shortcut_limit) { $this->assertText($max_visible_shortcuts_message, 'The maximum number of visible shortcuts has been reached. Warning message displayed.'); } @@ -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 previous last 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.'); }