public function setup() { if (!class_exists('\\Redis')) { $this->markTestSkipped('Skipping test because phpredis is not installed'); } parent::setUp(); }
public function setup() { if (!function_exists('phpiredis_connect')) { $this->markTestSkipped('Skipping test because phpiredis is not installed'); } parent::setUp(); }
public function setUp() { if (!function_exists('phpiredis_connect')) { $this->markTestSkipped('phpiredis is needed to test the FailoverWrapper'); } $this->time = new MockTime(); parent::setUp(); }
public function setUp() { $this->time = new MockTime(); parent::setUp(); }