You are here

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

Redis_Tests_Lock_AbstractLockingUnitTestCase

Code

public function setUp() {
  parent::setUp();
  $this->backends = array();
}