diff --git a/core/modules/language/tests/src/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/LanguageNegotiationUrlTest.php index 6d1ef6529d1afc917ffab490cfcd9bb1eafa6695..36670833158f255bbc5ef084d18f4e57f8a35f35 100644 --- a/core/modules/language/tests/src/LanguageNegotiationUrlTest.php +++ b/core/modules/language/tests/src/LanguageNegotiationUrlTest.php @@ -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; }