You are here

protected function ConfigInstallTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/config/src/Tests/ConfigInstallTest.php, line 31
Contains \Drupal\config\Tests\ConfigInstallTest.

Class

ConfigInstallTest
Tests installation of configuration objects in installation functionality.

Namespace

Drupal\config\Tests

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', [
    'router',
  ]);

  // Ensure the global variable being asserted by this test does not exist;
  // a previous test executed in this request/process might have set it.
  unset($GLOBALS['hook_config_test']);
}