Issue #2606470 by alexpott: Symfony prevents container cloning in 2.8 - let's fix this early

8.0.x
Nathaniel Catchpole 2015-11-03 10:48:10 +00:00
parent 6c8f58a3ab
commit 533bb68ca3
1 changed files with 1 additions and 1 deletions

View File

@ -1194,7 +1194,7 @@ abstract class TestBase {
$this->originalConf = isset($GLOBALS['conf']) ? $GLOBALS['conf'] : NULL;
// Backup statics and globals.
$this->originalContainer = clone \Drupal::getContainer();
$this->originalContainer = \Drupal::getContainer();
$this->originalLanguage = $language_interface;
$this->originalConfigDirectories = $GLOBALS['config_directories'];