diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-09 16:33:14 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-09 16:33:14 +0000 |
commit | 1b9cde9d85b2c04df35b04cfbd12f68243a118bc (patch) | |
tree | a04c4251366fe90e4453a26dbbd12b503219eed3 /modules/path | |
parent | d72c565607380c5e92df6bcc6067ca0536c4a5e4 (diff) | |
download | brdo-1b9cde9d85b2c04df35b04cfbd12f68243a118bc.tar.gz brdo-1b9cde9d85b2c04df35b04cfbd12f68243a118bc.tar.bz2 |
#282191 by plach, nedjo, catch, et al: TF #1: Allow different interface language for the same path.
Diffstat (limited to 'modules/path')
-rw-r--r-- | modules/path/path.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/path/path.test b/modules/path/path.test index d0abc0a2c..21cbb5ab9 100644 --- a/modules/path/path.test +++ b/modules/path/path.test @@ -183,7 +183,9 @@ class PathLanguageTestCase extends DrupalWebTestCase { drupal_static_reset('language_list'); // Set language negotiation to "Path prefix with fallback". - variable_set('language_negotiation', LANGUAGE_NEGOTIATION_PATH); + include_once DRUPAL_ROOT . '/includes/locale.inc'; + variable_set('language_negotiation_' . LANGUAGE_TYPE_CONTENT, locale_language_negotiation_info()); + variable_set('locale_language_negotiation_url_part', LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX); // Force inclusion of language.inc. drupal_language_initialize(); |