Commit 1682e495 authored by webchick's avatar webchick

Issue #2355523 by penyaskito: Fixed InstallerTestBase tests should not require...

Issue #2355523 by penyaskito: Fixed InstallerTestBase tests should not require sqlite to be installed.
parent 2e9db3e6
......@@ -970,6 +970,12 @@ protected function installParameters() {
),
),
);
// If we only have one db driver available, we cannot set the driver.
include_once DRUPAL_ROOT . '/core/includes/install.inc';
if (count(drupal_get_database_types()) == 1) {
unset($parameters['forms']['install_settings_form']['driver']);
}
return $parameters;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment