You are here

protected function LegacyLibraryDiscoveryTest::setUp in Drupal 8

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');
}