Browse Source

Merge pull request #120 from rinatio/119-apc-cache-unit-test

Check apc.enable_cli for ApcTestCase unit tests
tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
b057efef25
  1. 2
      tests/unit/framework/caching/ApcCacheTest.php

2
tests/unit/framework/caching/ApcCacheTest.php

@ -17,6 +17,8 @@ class ApcCacheTest extends CacheTest
{
if(!extension_loaded("apc")) {
$this->markTestSkipped("APC not installed. Skipping.");
} else if ('cli' === PHP_SAPI && !ini_get('apc.enable_cli')) {
$this->markTestSkipped("APC cli is not enabled. Skipping.");
}
if($this->_cacheInstance === null) {

Loading…
Cancel
Save