function BubbleableMetadataTest::testMergeAttachmentsFeedMerging
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php \Drupal\Tests\Core\Render\BubbleableMetadataTest::testMergeAttachmentsFeedMerging()
Tests feed asset merging.
@covers ::mergeAttachments
@dataProvider providerTestMergeAttachmentsFeedMerging
File
-
core/
modules/ aggregator/ tests/ src/ Unit/ BubbleableMetadataTest.php, line 22
Class
- BubbleableMetadataTest
- @coversDefaultClass \Drupal\Core\Render\BubbleableMetadata @group aggregator @group legacy
Namespace
Drupal\Tests\aggregator\UnitCode
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.