diff --git a/unit-tests/CacheTest.php b/unit-tests/CacheTest.php index d7b2cebd70f..b989affea05 100644 --- a/unit-tests/CacheTest.php +++ b/unit-tests/CacheTest.php @@ -502,6 +502,11 @@ protected function _prepareApc() return false; } + if (ini_get('apc.enable_cli') != 1) { + $this->markTestSkipped('apc.enable_cli must be set to 1'); + return false; + } + return true; }