Exemple #1
0
 protected function setUp()
 {
     parent::setUp();
     if (!function_exists('memcache_connect')) {
         $this->markTestSkipped('Memcache extension is not available');
     }
 }
Exemple #2
0
 protected function setUp()
 {
     parent::setUp();
     if (!Environment::hasConnection()) {
         $this->markTestSkipped('Database connection not available');
     }
     $this->connection = Environment::getService('connection');
 }