You are here

protected function ElementInfoIntegrationTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php, line 17

Class

ElementInfoIntegrationTest
Tests the element info.

Namespace

Drupal\KernelTests\Core\Render

Code

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