function LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset()
- 10 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset()
- 9 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset()
- 8.9.x core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset()
Tests get minimal representative subset.
Attributes
#[DataProvider('providerTestGetMinimalRepresentativeSubset')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDependencyResolverTest.php, line 369
Class
Namespace
Drupal\Tests\Core\AssetCode
public function testGetMinimalRepresentativeSubset(array $libraries, array $expected) : void {
$this->assertEquals($expected, $this->libraryDependencyResolver
->getMinimalRepresentativeSubset($libraries));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.