You are here

protected function ConfigOverrideTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/config/src/Tests/ConfigOverrideTest.php, line 26
Contains \Drupal\config\Tests\ConfigOverrideTest.

Class

ConfigOverrideTest
Tests configuration overrides via $config in settings.php.

Namespace

Drupal\config\Tests

Code

protected function setUp() {
  parent::setUp();
  $this
    ->copyConfig($this->container
    ->get('config.storage'), $this->container
    ->get('config.storage.sync'));
}