summaryrefslogtreecommitdiffstats
path: root/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/simpletest/lib/Drupal/simpletest/TestBase.php')
-rw-r--r--core/modules/simpletest/lib/Drupal/simpletest/TestBase.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
index c6bb562..4493cd1 100644
--- a/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
+++ b/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
@@ -1025,13 +1025,6 @@ abstract class TestBase {
// this second reset is guranteed to reset everything to nothing.
drupal_static_reset();
- // Reset static in language().
- // Restoring drupal_container() makes language() return the proper languages
- // already, but it contains an additional static that needs to be reset. The
- // reset can happen before the container is restored, as it is unnecessary
- // to reset the language_manager service.
- language(NULL, TRUE);
-
// Restore original in-memory configuration.
$conf = $this->originalConf;
new Settings($this->originalSettings);