mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-17 16:26:51 +03:00
Prepare tests for running on PHP 8
This commit is contained in:
@@ -17,6 +17,8 @@ class PeclUuidRandomGeneratorTest extends PeclUuidTestCase
|
||||
* This test is just to check collaboration with the PECL UUID extension - not to check
|
||||
* the correctness of the methods defined in that extension.
|
||||
* So we are just checking that the UUID methods are called with the right parameters.
|
||||
*
|
||||
* @requires PHP < 8
|
||||
*/
|
||||
public function testGenerateCreatesUuidUsingPeclUuidMethods()
|
||||
{
|
||||
@@ -33,6 +35,8 @@ class PeclUuidRandomGeneratorTest extends PeclUuidTestCase
|
||||
/**
|
||||
* This test is for the return type of the generate method
|
||||
* It ensures that the generate method returns whatever value uuid_parse returns.
|
||||
*
|
||||
* @requires PHP < 8
|
||||
*/
|
||||
public function testGenerateReturnsUuidString()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user