diff --git a/core/modules/language/tests/Drupal/language/Tests/LanguageNegotiationUrlTest.php b/core/modules/language/tests/Drupal/language/Tests/LanguageNegotiationUrlTest.php index dbcda9d..b47b537 100644 --- a/core/modules/language/tests/Drupal/language/Tests/LanguageNegotiationUrlTest.php +++ b/core/modules/language/tests/Drupal/language/Tests/LanguageNegotiationUrlTest.php @@ -82,9 +82,7 @@ public function testDomain($http_host, $domains, $expected_langcode) { ->with('url') ->will($this->returnValue($config_data)); - $config = $this->getMockBuilder('Drupal\Core\Config\ConfigFactory') - ->disableOriginalConstructor() - ->getMock(); + $config = $this->getMock('Drupal\Core\Config\ConfigFactoryInterface'); $config->expects($this->any()) ->method('get') ->with('language.negotiation')