Commit bd59b863 authored by hass's avatar hass
Browse files

Add missing t() to button string

parent 9674f6f8
......@@ -333,7 +333,7 @@ class GoogleAnalyticsStatusMessagesTest extends DrupalWebTestCase {
// Enable logging of errors only.
variable_set('googleanalytics_trackmessages', array('error' => 'error'));
$this->drupalPost('user/login', array(), 'Log in');
$this->drupalPost('user/login', array(), t('Log in'));
$this->assertRaw('_gaq.push(["_trackEvent", "Messages", "Error message", "Username field is required."]);', '[testGoogleAnalyticsStatusMessages]: _trackEvent "Username field is required." is shown.');
$this->assertRaw('_gaq.push(["_trackEvent", "Messages", "Error message", "Password field is required."]);', '[testGoogleAnalyticsStatusMessages]: _trackEvent "Password field is required." is shown.');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment