function LegacyLibraryDiscoveryTest::setUp

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Asset/LegacyLibraryDiscoveryTest.php, line 25

Class

LegacyLibraryDiscoveryTest
Tests that deprecated asset libraries trigger a deprecation error.

Namespace

Drupal\KernelTests\Core\Asset

Code

protected function setUp() {
    parent::setUp();
    $this->libraryDiscovery = $this->container
        ->get('library.discovery');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.