Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
60aaaaea
Commit
60aaaaea
authored
Nov 04, 2012
by
webchick
Browse files
Issue
#1830934
by Carsten Müller, Berdir: Fixed Wrong test class name.
parent
265fe4e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
View file @
60aaaaea
...
...
@@ -2,7 +2,7 @@
/**
* @file
* Definition of Drupal\locale\Tests\Translation
String
Test.
* Definition of Drupal\locale\Tests\
Locale
TranslationTest.
*/
namespace
Drupal\locale\Tests
;
...
...
@@ -12,7 +12,7 @@
/**
* Functional test for string translation and validation.
*/
class
Translation
String
Test
extends
WebTestBase
{
class
Locale
TranslationTest
extends
WebTestBase
{
/**
* Modules to enable.
...
...
@@ -220,7 +220,7 @@ function testJavaScriptTranslation() {
// {locales_source} table and translate it.
$source
=
db_select
(
'locales_source'
,
'l'
)
->
fields
(
'l'
,
array
(
'source'
))
->
condition
(
'l.
location
'
,
'%.js%'
,
'LIKE'
)
->
condition
(
'l.
source
'
,
'%.js%'
,
'LIKE'
)
->
range
(
0
,
1
)
->
execute
()
->
fetchField
();
...
...
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