mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
need to skip this test on HHVM, Aspect Mock doesn't work there.
This commit is contained in:
@@ -19,8 +19,8 @@ class SystemNodeProviderTest extends TestCase
|
||||
|
||||
$this->assertTrue(ctype_xdigit($node), 'Node is not a hexadecimal string. Actual node: ' . $node);
|
||||
$this->assertTrue(strlen($node) === 12, 'Node is 12 characters long. Actual length: ' . strlen(
|
||||
$node
|
||||
) . PHP_EOL . ' Actual node: ' . $node);
|
||||
$node
|
||||
) . PHP_EOL . ' Actual node: ' . $node);
|
||||
}
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ class SystemNodeProviderTest extends TestCase
|
||||
*/
|
||||
public function testGetNodeGetsNetworkInterfaceConfig($os, $command)
|
||||
{
|
||||
$this->skipIfHhvm();
|
||||
AspectMock::func('Ramsey\Uuid\Provider\Node', 'php_uname', $os);
|
||||
$passthru = AspectMock::func('Ramsey\Uuid\Provider\Node', 'passthru', 'whatever');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user