function SchemaCheckTraitTest::setUp

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Config/SchemaCheckTraitTest.php \Drupal\KernelTests\Core\Config\SchemaCheckTraitTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Config/SchemaCheckTraitTest.php \Drupal\KernelTests\Core\Config\SchemaCheckTraitTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/Config/SchemaCheckTraitTest.php \Drupal\KernelTests\Core\Config\SchemaCheckTraitTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Config/SchemaCheckTraitTest.php, line 34

Class

SchemaCheckTraitTest
Tests the functionality of SchemaCheckTrait.

Namespace

Drupal\KernelTests\Core\Config

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig([
        'config_test',
        'config_schema_test',
    ]);
    $this->typedConfig = \Drupal::service('config.typed');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.