Skip tests that cannot succeed with HHVM

This commit is contained in:
Thibaud Fabre
2014-12-29 22:06:06 +01:00
parent d6205aaf47
commit ace0db7707
+8
View File
@@ -36,6 +36,10 @@ class PeclUuidTest extends \PHPUnit_Framework_TestCase
public function testUuid1WithoutParametersIsNotDelegated()
{
if (defined('HHVM_VERSION')) {
$this->markTestSkipped('PECL Uuid extension not available in HHVM');
}
$this->mockFactory->expects($this->never())
->method('uuid1');
@@ -87,6 +91,10 @@ class PeclUuidTest extends \PHPUnit_Framework_TestCase
public function testUuid4WithParametersIsNeverDelegated()
{
if (defined('HHVM_VERSION')) {
$this->markTestSkipped('PECL Uuid extension not available in HHVM');
}
$this->mockFactory->expects($this->never())
->method('uuid4');