public function Redis_Tests_Cache_AbstractUnitTestCase::setUp in Redis 7.2
Sets up unit test environment.
Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.
Overrides Redis_Tests_AbstractUnitTestCase::setUp
File
- lib/
Redis/ Tests/ Cache/ AbstractUnitTestCase.php, line 30
Class
- Redis_Tests_Cache_AbstractUnitTestCase
- Base implementation for locking functionnal testing.
Code
public function setUp() {
parent::setUp();
$this->backend = null;
}