From 1a9b66264d7f1e6d8dc5a7be44e1c3da8741afd3 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 9 Oct 2010 17:38:41 +0000 Subject: #780316 by plach: Fixed missing node translation links when no language detection is configured. --- modules/path/path.test | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/path') 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.')); -- cgit v1.2.3