You are here

final private function Redis_Tests_AbstractUnitTestCase::restoreDrupalEnvironment in Redis 7.3

Same name and namespace in other branches
  1. 7.2 lib/Redis/Tests/AbstractUnitTestCase.php \Redis_Tests_AbstractUnitTestCase::restoreDrupalEnvironment()

Restore Drupal environment after testing.

1 call to Redis_Tests_AbstractUnitTestCase::restoreDrupalEnvironment()
Redis_Tests_AbstractUnitTestCase::tearDown in lib/Redis/Tests/AbstractUnitTestCase.php

File

lib/Redis/Tests/AbstractUnitTestCase.php, line 74

Class

Redis_Tests_AbstractUnitTestCase

Code

private final function restoreDrupalEnvironment() {
  $GLOBALS['conf'] = $this->originalConf + $GLOBALS['conf'];
}