diff --git a/core/modules/locale/locale.test b/core/modules/locale/locale.test index 44f5fb1..3dc7560 100644 --- a/core/modules/locale/locale.test +++ b/core/modules/locale/locale.test @@ -100,12 +100,12 @@ class LocaleJavascriptTranslationTest extends DrupalWebTestCase { } function setUp() { - parent::setUp('locale', 'locale_test'); + parent::setUp('locale'); } function testFileParsing() { - $filename = drupal_get_path('module', 'locale_test') . '/locale_test.js'; + $filename = drupal_get_path('module', 'locale') . '/tests/locale_test.js'; // Parse the file to look for source strings. _locale_parse_js_file($filename); @@ -915,10 +915,10 @@ class LocaleImportFunctionalTest extends DrupalWebTestCase { protected $admin_user = NULL; function setUp() { - parent::setUp(array('locale', 'locale_test', 'dblog')); + parent::setUp(array('locale', 'dblog')); // Set the translation file directory. - variable_set('locale_translate_file_directory', drupal_get_path('module', 'locale_test')); + variable_set('locale_translate_file_directory', drupal_get_path('module', 'locale') . '/tests'); $this->admin_user = $this->drupalCreateUser(array('administer languages', 'translate interface', 'access administration pages')); $this->drupalLogin($this->admin_user); @@ -1392,7 +1392,7 @@ class LocaleExportFunctionalTest extends DrupalWebTestCase { protected $admin_user = NULL; function setUp() { - parent::setUp('locale', 'locale_test'); + parent::setUp('locale'); $this->admin_user = $this->drupalCreateUser(array('administer languages', 'translate interface', 'access administration pages')); $this->drupalLogin($this->admin_user);