mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-18 16:37:43 +03:00
Prepare tests for running on PHP 8
This commit is contained in:
@@ -8,15 +8,10 @@ use AspectMock\Test as AspectMock;
|
||||
|
||||
class RandomNodeProviderTest extends TestCase
|
||||
{
|
||||
protected function tearDown()
|
||||
{
|
||||
parent::tearDown();
|
||||
AspectMock::clean();
|
||||
}
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
* @requires PHP < 8
|
||||
*/
|
||||
public function testGetNodeUsesRandomBytes()
|
||||
{
|
||||
@@ -31,6 +26,7 @@ class RandomNodeProviderTest extends TestCase
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
* @requires PHP < 8
|
||||
*/
|
||||
public function testGetNodeSetsMulticastBit()
|
||||
{
|
||||
@@ -48,6 +44,7 @@ class RandomNodeProviderTest extends TestCase
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
* @requires PHP < 8
|
||||
*/
|
||||
public function testGetNodeAlreadyHasMulticastBit()
|
||||
{
|
||||
@@ -66,6 +63,7 @@ class RandomNodeProviderTest extends TestCase
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
* @requires PHP < 8
|
||||
*/
|
||||
public function testGetNodeSetsMulticastBitForLowNodeValue()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user