function SchemaConfigListenerTest::setUp

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

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Config/SchemaConfigListenerTest.php, line 25

Class

SchemaConfigListenerTest
Tests the functionality of ConfigSchemaChecker in KernelTestBase tests.

Namespace

Drupal\KernelTests\Core\Config

Code

protected function setUp() {
    parent::setUp();
    // Install configuration provided by the module so that the order of the
    // config keys is the same as
    // \Drupal\FunctionalTests\Core\Config\SchemaConfigListenerTest.
    $this->installConfig([
        'config_test',
    ]);
}

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