|
@@ -35,10 +35,7 @@ class XcacheEngineTest extends TestCase
|
|
|
public function setUp()
|
|
public function setUp()
|
|
|
{
|
|
{
|
|
|
parent::setUp();
|
|
parent::setUp();
|
|
|
- if ((PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg')) {
|
|
|
|
|
- $this->markTestSkipped('Xcache is not available for the CLI.');
|
|
|
|
|
- }
|
|
|
|
|
- if (!function_exists('xcache_set')) {
|
|
|
|
|
|
|
+ if (!extension_loaded('xcache')) {
|
|
|
$this->markTestSkipped('Xcache is not installed or configured properly');
|
|
$this->markTestSkipped('Xcache is not installed or configured properly');
|
|
|
}
|
|
}
|
|
|
Cache::enable();
|
|
Cache::enable();
|