PSR12
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/** DomFramework - Tests
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
@@ -12,16 +13,16 @@ use Domframework\Uuid;
|
||||
/** Test the Uuid.php file */
|
||||
class UuidTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function test_uuid1 ()
|
||||
{
|
||||
$res = Uuid::uuid4 ();
|
||||
$this->assertRegExp (36, strlen ($res));
|
||||
}
|
||||
public function test_uuid1()
|
||||
{
|
||||
$res = Uuid::uuid4();
|
||||
$this->assertRegExp(36, strlen($res));
|
||||
}
|
||||
|
||||
public function test_uuid2 ()
|
||||
{
|
||||
$res = Uuid::uuid4 ();
|
||||
$this->assertRegExp (true, strspn ("0123456789abcdef-", $res) ==
|
||||
strlen ($res));
|
||||
}
|
||||
public function test_uuid2()
|
||||
{
|
||||
$res = Uuid::uuid4();
|
||||
$this->assertRegExp(true, strspn("0123456789abcdef-", $res) ==
|
||||
strlen($res));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user