function BubbleableMetadataTest::testMergeAttachmentsFeedMerging
Same name in other branches
- 9 core/modules/aggregator/tests/src/Unit/BubbleableMetadataTest.php \Drupal\Tests\aggregator\Unit\BubbleableMetadataTest::testMergeAttachmentsFeedMerging()
Tests feed asset merging.
@covers ::mergeAttachments
@dataProvider providerTestMergeAttachmentsFeedMerging
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php, line 393
Class
- BubbleableMetadataTest
- @coversDefaultClass \Drupal\Core\Render\BubbleableMetadata @group Render
Namespace
Drupal\Tests\Core\RenderCode
public function testMergeAttachmentsFeedMerging($a, $b, $expected) {
$this->assertSame($expected, BubbleableMetadata::mergeAttachments($a, $b));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.