summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-09 17:38:41 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-09 17:38:41 +0000
commit1a9b66264d7f1e6d8dc5a7be44e1c3da8741afd3 (patch)
tree6de520e45c5d413b3bf0e646abec37065e4a6497 /modules/path
parent1a9758c6734bda78a9393eb85cd2244f8bfad952 (diff)
downloadbrdo-1a9b66264d7f1e6d8dc5a7be44e1c3da8741afd3.tar.gz
brdo-1a9b66264d7f1e6d8dc5a7be44e1c3da8741afd3.tar.bz2
#780316 by plach: Fixed missing node translation links when no language detection is configured.
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.'));