You are here

protected function SchemaCheckTraitTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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');
}