You are here

public function PredisCacheTest::setUp in Plug 7

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/PredisCacheTest.php, line 13

Class

PredisCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function setUp() {
  $this->client = new Client();
  try {
    $this->client
      ->connect();
  } catch (ConnectionException $e) {
    $this
      ->markTestSkipped('The ' . __CLASS__ . ' requires the use of redis');
  }
}