mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Skip tests that cannot succeed with HHVM
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user