mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Update dev requirements and test suite for PHP 7+ only
This commit is contained in:
@@ -28,7 +28,8 @@ class RandomLibAdapterTest extends TestCase
|
||||
$generator = $this->getMockBuilder(Generator::class)
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
new RandomLibAdapter($generator);
|
||||
|
||||
$this->assertInstanceOf(RandomLibAdapter::class, new RandomLibAdapter($generator));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -42,7 +43,7 @@ class RandomLibAdapterTest extends TestCase
|
||||
->once()
|
||||
->getMock();
|
||||
|
||||
new RandomLibAdapter();
|
||||
$this->assertInstanceOf(RandomLibAdapter::class, new RandomLibAdapter());
|
||||
}
|
||||
|
||||
public function testGenerateUsesGenerator()
|
||||
|
||||
Reference in New Issue
Block a user