Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
e1db0da4
Commit
e1db0da4
authored
Mar 16, 2014
by
webchick
Browse files
Issue
#2209461
by sun: Settings from test runner leak into all tests.
parent
ff4865d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
View file @
e1db0da4
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment