Issue #2589599 by tstoeckler: Dead code in WebTestBase

8.0.x
Alex Pott 2015-10-19 10:44:54 -07:00
parent 5e5738dcdd
commit 805e1d6daa
1 changed files with 2 additions and 8 deletions

View File

@ -680,14 +680,11 @@ abstract class WebTestBase extends TestBase {
// Initialize user 1 and session name.
$this->initUserSession();
// Get parameters for install_drupal() before removing global variables.
$parameters = $this->installParameters();
// Prepare the child site settings.
$this->prepareSettings();
// Execute the non-interactive installer.
$this->doInstall($parameters);
$this->doInstall();
// Import new settings.php written by the installer.
$this->initSettings();
@ -711,12 +708,9 @@ abstract class WebTestBase extends TestBase {
/**
* Execute the non-interactive installer.
*
* @param array $parameters
* Parameters to pass to install_drupal().
*
* @see install_drupal()
*/
protected function doInstall(array $parameters = []) {
protected function doInstall() {
require_once DRUPAL_ROOT . '/core/includes/install.core.inc';
install_drupal($this->classLoader, $this->installParameters());
}