Esempio n. 1
0
 public function setup()
 {
     if (!class_exists('\\Redis')) {
         $this->markTestSkipped('Skipping test because phpredis is not installed');
     }
     parent::setUp();
 }
Esempio n. 2
0
 public function setup()
 {
     if (!function_exists('phpiredis_connect')) {
         $this->markTestSkipped('Skipping test because phpiredis is not installed');
     }
     parent::setUp();
 }
Esempio n. 3
0
 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();
 }