diff --git a/core/lib/Drupal/Core/Render/RenderContext.php b/core/lib/Drupal/Core/Render/RenderContext.php index e49c291..ddcd264 100644 --- a/core/lib/Drupal/Core/Render/RenderContext.php +++ b/core/lib/Drupal/Core/Render/RenderContext.php @@ -14,8 +14,6 @@ * @see \Drupal\Core\Render\RendererInterface * @see \Drupal\Core\Render\Renderer * @see \Drupal\Core\Render\BubbleableMetadata - * - * @internal */ class RenderContext extends \SplStack { diff --git a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php index f7ee941..d6d6950 100644 --- a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php @@ -96,8 +96,9 @@ protected function setUpMailManager($interface = array()) { )); $logger_factory = $this->getMock('\Drupal\Core\Logger\LoggerChannelFactoryInterface'); $string_translation = $this->getStringTranslationStub(); + $renderer = $this->getMock('\Drupal\Core\Render\RendererInterface'); // Construct the manager object and override its discovery. - $this->mailManager = new TestMailManager(new \ArrayObject(), $this->cache, $this->moduleHandler, $this->configFactory, $logger_factory, $string_translation); + $this->mailManager = new TestMailManager(new \ArrayObject(), $this->cache, $this->moduleHandler, $this->configFactory, $logger_factory, $string_translation, $renderer); $this->mailManager->setDiscovery($this->discovery); }