public function Redis_Tests_Lock_AbstractLockingUnitTestCase::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/ Lock/ AbstractLockingUnitTestCase.php, line 12
Class
Code
public function setUp() {
parent::setUp();
$this->backends = array();
}