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