Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Render / BubbleableMetadataTest.php
index 1fca8179a8327601bb650bd6a76e8583a4f59c58..a881e7c2ce7240a904714741b10ae58e2a031a37 100644 (file)
@@ -38,6 +38,7 @@ class BubbleableMetadataTest extends UnitTestCase {
     if (!$b instanceof BubbleableMetadata) {
       $renderer = $this->getMockBuilder('Drupal\Core\Render\Renderer')
         ->disableOriginalConstructor()
+        ->setMethods(['mergeAttachments'])
         ->getMock();
       $renderer->expects($this->never())
         ->method('mergeAttachments');