You are here

protected function ComponentDiscoveryTest::setUp in Lightning Core 8.4

Same name and namespace in other branches
  1. 8.5 tests/src/Kernel/ComponentDiscoveryTest.php \Drupal\Tests\lightning_core\Kernel\ComponentDiscoveryTest::setUp()
  2. 8.3 tests/src/Kernel/ComponentDiscoveryTest.php \Drupal\Tests\lightning_core\Kernel\ComponentDiscoveryTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/ComponentDiscoveryTest.php, line 27

Class

ComponentDiscoveryTest
@group lightning @group lightning_core

Namespace

Drupal\Tests\lightning_core\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->discovery = new ComponentDiscovery($this->container
    ->get('app.root'));
}