only in patch2: unchanged: --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php @@ -250,7 +250,8 @@ protected function setupLocalTaskManager() { ->will($this->returnValue(new Language(array('id' => 'en')))); $account = $this->getMock('Drupal\Core\Session\AccountInterface'); - $this->manager = new LocalTaskManager($this->controllerResolver, $request_stack, $this->routeMatch, $this->routeProvider, $module_handler, $this->cacheBackend, $language_manager, $this->accessManager, $account); + $renderer = $this->getMock('Drupal\Core\Render\RendererInterface'); + $this->manager = new LocalTaskManager($this->controllerResolver, $request_stack, $this->routeMatch, $this->routeProvider, $module_handler, $this->cacheBackend, $language_manager, $this->accessManager, $account, $renderer); $property = new \ReflectionProperty('Drupal\Core\Menu\LocalTaskManager', 'discovery'); $property->setAccessible(TRUE);