Commit 61a45ec5 authored by hass's avatar hass
Browse files

Add missing t() to button string

parent 599e11ef
......@@ -329,7 +329,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('ga("send", "event", "Messages", "Error message", "Username field is required.");', '[testGoogleAnalyticsStatusMessages]: Event message "Username field is required." is shown.');
$this->assertRaw('ga("send", "event", "Messages", "Error message", "Password field is required.");', '[testGoogleAnalyticsStatusMessages]: Event message "Password field is required." is shown.');
......
Markdown is supported
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