diff --git a/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php b/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php index 72af748..0266406 100644 --- a/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php +++ b/core/modules/system/tests/Drupal/system/Tests/Condition/RequestPathConditionTest.php @@ -43,7 +43,7 @@ public function testConditions() { ->getMock(); // Create an translation manager stub. - $translation_manager = $this->getMockBuilder('Drupal\Core\StringTranslation') + $translation_manager = $this->getMockBuilder('Drupal\Core\StringTranslation\TranslationInterface') ->getMock(); $system_path_map = array(