You are here

protected function ElementInfoIntegrationTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()
  2. 9 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() : void {
  parent::setUp();
  $this->container
    ->get('theme_installer')
    ->install([
    'test_theme',
    'classy',
  ]);
}