From 60aaaaea8c88100502e5b7cf49d06df1b81d5223 Mon Sep 17 00:00:00 2001 From: webchick Date: Sun, 4 Nov 2012 00:46:05 -0700 Subject: [PATCH] =?UTF-8?q?Issue=20#1830934=20by=20Carsten=20M=C3=BCller,?= =?UTF-8?q?=20Berdir:=20Fixed=20Wrong=20test=20class=20name.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/Drupal/locale/Tests/LocaleTranslationTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php index 7ac92adfaf3..cbdc1dfc37f 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php @@ -2,7 +2,7 @@ /** * @file - * Definition of Drupal\locale\Tests\TranslationStringTest. + * Definition of Drupal\locale\Tests\LocaleTranslationTest. */ namespace Drupal\locale\Tests; @@ -12,7 +12,7 @@ use Drupal\simpletest\WebTestBase; /** * Functional test for string translation and validation. */ -class TranslationStringTest extends WebTestBase { +class LocaleTranslationTest extends WebTestBase { /** * Modules to enable. @@ -220,7 +220,7 @@ class TranslationStringTest extends WebTestBase { // {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();