You are here

public function ZendDataCacheTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ZendDataCacheTest.php \Doctrine\Tests\Common\Cache\ZendDataCacheTest::setUp()

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ZendDataCacheTest.php, line 9

Class

ZendDataCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function setUp() {
  if (!function_exists('zend_shm_cache_fetch') || php_sapi_name() != 'apache2handler') {
    $this
      ->markTestSkipped('The ' . __CLASS__ . ' requires the use of Zend Data Cache which only works in apache2handler SAPI');
  }
}