mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
skip requirements checker test on HHVM
This commit is contained in:
@ -129,6 +129,10 @@ class YiiRequirementCheckerTest extends TestCase
|
||||
|
||||
public function testCheckPhpExtensionVersion()
|
||||
{
|
||||
if (defined('HHVM_VERSION')) {
|
||||
$this->markTestSkipped('Can not test this on HHVM.');
|
||||
}
|
||||
|
||||
$requirementsChecker = new YiiRequirementChecker();
|
||||
|
||||
$this->assertFalse($requirementsChecker->checkPhpExtensionVersion('some_unexisting_php_extension', '0.1'), 'No fail while checking unexisting extension!');
|
||||
|
||||
Reference in New Issue
Block a user