From 1b9cde9d85b2c04df35b04cfbd12f68243a118bc Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 9 Oct 2009 16:33:14 +0000 Subject: #282191 by plach, nedjo, catch, et al: TF #1: Allow different interface language for the same path. --- modules/path/path.test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/path') 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(); -- cgit v1.2.3