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:
@@ -35,8 +35,8 @@ class RandomBytesGeneratorTest extends TestCase
|
||||
$bytes = hex2bin($hex);
|
||||
$openSsl = AspectMock::func('Ramsey\Uuid\Generator', 'random_bytes', $bytes);
|
||||
$generator = new RandomBytesGenerator();
|
||||
$generator->generate($length);
|
||||
|
||||
$this->assertSame($bytes, $generator->generate($length));
|
||||
$openSsl->verifyInvokedOnce([$length]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user