You are here

protected function SchemaCheckTraitTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config/src/Tests/SchemaCheckTraitTest.php \Drupal\config\Tests\SchemaCheckTraitTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/config/src/Tests/SchemaCheckTraitTest.php, line 40
Contains \Drupal\config\Tests\SchemaCheckTraitTest.

Class

SchemaCheckTraitTest
Tests the functionality of SchemaCheckTrait.

Namespace

Drupal\config\Tests

Code

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