You are here

protected function ConfigInstallProfileUnmetDependenciesTest::prepareEnvironment in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php \Drupal\Tests\config\Functional\ConfigInstallProfileUnmetDependenciesTest::prepareEnvironment()
  2. 10 core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php \Drupal\Tests\config\Functional\ConfigInstallProfileUnmetDependenciesTest::prepareEnvironment()

Prepares the current environment for running the test.

Also sets up new resources for the testing environment, such as the public filesystem and configuration directories.

This method is private as it must only be called once by BrowserTestBase::setUp() (multiple invocations for the same test would have unpredictable consequences) and it must not be callable or overridable by test classes.

Overrides FunctionalTestSetupTrait::prepareEnvironment

File

core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php, line 38

Class

ConfigInstallProfileUnmetDependenciesTest
Tests install profile config overrides can not add unmet dependencies.

Namespace

Drupal\Tests\config\Functional

Code

protected function prepareEnvironment() {
  parent::prepareEnvironment();
  $this
    ->copyTestingOverrides();
}