Commit e1db0da4 authored by webchick's avatar webchick

Issue #2209461 by sun: Settings from test runner leak into all tests.

parent ff4865d8
......@@ -1093,6 +1093,12 @@ private function prepareEnvironment() {
drupal_valid_test_ua($this->databasePrefix);
conf_path(FALSE, TRUE);
// Reset settings.
new Settings(array(
// For performance, simply use the database prefix as hash salt.
'hash_salt' => $this->databasePrefix,
));
drupal_set_time_limit($this->timeLimit);
}
......
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