summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/path/path.test b/modules/path/path.test
index cca5fd972..ad536ace5 100644
--- a/modules/path/path.test
+++ b/modules/path/path.test
@@ -299,6 +299,7 @@ class PathLanguageTestCase extends DrupalWebTestCase {
// Confirm that the alias is returned by url().
drupal_static_reset('language_list');
+ drupal_static_reset('locale_url_outbound_alter');
$languages = language_list();
$url = url('node/' . $french_node->nid, array('language' => $languages[$french_node->language]));
$this->assertTrue(strpos($url, $edit['path[alias]']), t('URL contains the path alias.'));