summaryrefslogtreecommitdiff
path: root/modules/locale/locale.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.test')
-rw-r--r--modules/locale/locale.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 061bf04f3..2e52dc060 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -201,7 +201,7 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase {
// Add string.
t($name, array(), array('langcode' => $langcode));
// Reset locale cache.
- locale(NULL, NULL, NULL, TRUE);
+ locale_reset();
$this->assertText($langcode, t('Language code found.'));
$this->assertText($name, t('Name found.'));
$this->assertText($native, t('Native found.'));
@@ -456,7 +456,7 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase {
// Add string.
t($name, array(), array('langcode' => $langcode));
// Reset locale cache.
- locale(NULL, NULL, NULL, TRUE);
+ locale_reset();
$this->drupalLogout();
// Search for the name.