function FunctionalTestSetupTrait::doInstall
Execute the non-interactive installer.
See also
2 calls to FunctionalTestSetupTrait::doInstall()
- BrowserTestBase::installDrupal in core/tests/ Drupal/ Tests/ BrowserTestBase.php 
- Installs Drupal into the test site.
- TestSiteInstallCommand::installDrupal in core/tests/ Drupal/ TestSite/ Commands/ TestSiteInstallCommand.php 
- Installs Drupal into the test site.
2 methods override FunctionalTestSetupTrait::doInstall()
- InstallerDeprecatedDriverNameTest::doInstall in core/tests/ Drupal/ FunctionalTests/ Installer/ InstallerDeprecatedDriverNameTest.php 
- Execute the non-interactive installer.
- UpdatePathTestBase::doInstall in core/tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php 
- Execute the non-interactive installer.
File
- 
              core/lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php, line 309 
Class
- FunctionalTestSetupTrait
- Defines a trait for shared functional test setup functionality.
Namespace
Drupal\Core\TestCode
protected function doInstall() {
  require_once DRUPAL_ROOT . '/core/includes/install.core.inc';
  $parameters = $this->installParameters();
  // Simulate a real install which does not start with the any connections set
  // in \Drupal\Core\Database\Database::$connections.
  Database::removeConnection('default');
  install_drupal($this->classLoader, $parameters);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
