You are here

protected function LibraryDiscoveryIntegrationTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Asset/LibraryDiscoveryIntegrationTest.php \Drupal\system\Tests\Asset\LibraryDiscoveryIntegrationTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/system/src/Tests/Asset/LibraryDiscoveryIntegrationTest.php, line 31
Contains \Drupal\system\Tests\Asset\LibraryDiscoveryIntegrationTest.

Class

LibraryDiscoveryIntegrationTest
Tests the library discovery and library discovery parser.

Namespace

Drupal\system\Tests\Asset

Code

protected function setUp() {
  parent::setUp();
  $this->container
    ->get('theme_installer')
    ->install([
    'test_theme',
    'classy',
  ]);
  $this->libraryDiscovery = $this->container
    ->get('library.discovery');
}