diff options
-rw-r--r-- | modules/locale/locale.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/locale/locale.test b/modules/locale/locale.test index 40502a29a..ffda6f580 100644 --- a/modules/locale/locale.test +++ b/modules/locale/locale.test @@ -1668,6 +1668,7 @@ class LocaleBrowserDetectionTest extends DrupalUnitTestCase { 'EN' => 'en', ' en' => 'en', 'en ' => 'en', + 'en, fr' => 'en', // A less specific language from the browser matches a more specific one // from the website, and the other way around for compatibility with @@ -1702,6 +1703,7 @@ class LocaleBrowserDetectionTest extends DrupalUnitTestCase { // Unresolvable cases. '' => FALSE, 'de,pl' => FALSE, + 'iecRswK4eh' => FALSE, $this->randomName(10) => FALSE, ); |