Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
google_analytics
Commits
9674f6f8
Commit
9674f6f8
authored
Aug 06, 2013
by
hass
Browse files
'Save configuration' requires a t() or it fails in other languages
parent
1ed76f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googleanalytics.test
googleanalytics.test
+1
-1
No files found.
googleanalytics.test
View file @
9674f6f8
...
...
@@ -34,7 +34,7 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
// Check for account code validation.
$edit
[
'googleanalytics_account'
]
=
$this
->
randomName
(
2
);
$this
->
drupalPost
(
'admin/config/system/googleanalytics'
,
$edit
,
'Save configuration'
);
$this
->
drupalPost
(
'admin/config/system/googleanalytics'
,
$edit
,
t
(
'Save configuration'
)
)
;
$this
->
assertRaw
(
t
(
'A valid Google Analytics Web Property ID is case sensitive and formatted like UA-xxxxxxx-yy.'
),
'[testGoogleAnalyticsConfiguration]: Invalid Web Property ID number validated.'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment