function InstallerExistingConfigNoSystemSiteTest::prepareEnvironment

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigNoSystemSiteTest::prepareEnvironment()
  2. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigNoSystemSiteTest::prepareEnvironment()
  3. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigNoSystemSiteTest::prepareEnvironment()

Overrides InstallerExistingConfigTestBase::prepareEnvironment

File

core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php, line 17

Class

InstallerExistingConfigNoSystemSiteTest
Testing installing from config without system.site.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function prepareEnvironment() {
    parent::prepareEnvironment();
    // File API functions are not available yet.
    unlink($this->siteDirectory . '/profiles/' . $this->profile . '/config/sync/system.site.yml');
}

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