You are here

protected function SchemaCheckTraitTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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() {
  parent::setUp();
  $this
    ->installConfig([
    'config_test',
    'config_schema_test',
  ]);
  $this->typedConfig = \Drupal::service('config.typed');
}