Commit 0872feb1 authored by alexpott's avatar alexpott

Issue #2308545 by penyaskito: Typo in LanguageNegotiationUrlTest.

parent 1ddfac8c
......@@ -98,13 +98,13 @@ public function providerTestDomain() {
'domains' => array(
'de' => 'http://example.de',
),
'expected_langocde' => 'de',
'expected_langcode' => 'de',
);
// No configuration.
$domain_configuration[] = array(
'http_host' => 'example.de',
'domains' => array(),
'expected_langocde' => FALSE,
'expected_langcode' => FALSE,
);
// HTTP host with a port.
$domain_configuration[] = array(
......@@ -112,7 +112,7 @@ public function providerTestDomain() {
'domains' => array(
'de' => 'http://example.de',
),
'expected_langocde' => 'de',
'expected_langcode' => 'de',
);
// Domain configuration with https://.
$domain_configuration[] = array(
......@@ -120,7 +120,7 @@ public function providerTestDomain() {
'domains' => array(
'de' => 'https://example.de',
),
'expected_langocde' => 'de',
'expected_langcode' => 'de',
);
// Non-matching HTTP host.
$domain_configuration[] = array(
......@@ -128,7 +128,7 @@ public function providerTestDomain() {
'domains' => array(
'de' => 'http://example.com',
),
'expected_langocde' => 'de',
'expected_langcode' => 'de',
);
// Testing a non-existing language.
$domain_configuration[] = array(
......@@ -136,7 +136,7 @@ public function providerTestDomain() {
'domains' => array(
'it' => 'http://example.it',
),
'expected_langocde' => FALSE,
'expected_langcode' => FALSE,
);
// Multiple domain configurations.
$domain_configuration[] = array(
......@@ -145,7 +145,7 @@ public function providerTestDomain() {
'de' => 'http://example.de',
'en' => 'http://example.com',
),
'expected_langocde' => 'en',
'expected_langcode' => 'en',
);
return $domain_configuration;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment