You are here

protected function DefaultConfigTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Config/DefaultConfigTest.php \Drupal\KernelTests\Core\Config\DefaultConfigTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Config/DefaultConfigTest.php, line 60

Class

DefaultConfigTest
Tests that default configuration provided by all modules matches schema.

Namespace

Drupal\KernelTests\Core\Config

Code

protected function setUp() : void {
  parent::setUp();
  \Drupal::service('theme_installer')
    ->install($this->themes);
}