Tests are now compliant with php-cs-fixer (CamelCase for method, phpdoc valid)
This commit is contained in:
@@ -1,25 +1,28 @@
|
||||
<?php
|
||||
|
||||
/** DomFramework - Tests
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
* @license BSD
|
||||
*/
|
||||
/**
|
||||
* DomFramework - Tests
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
namespace Domframework\Tests;
|
||||
|
||||
use Domframework\Uuid;
|
||||
|
||||
/** Test the Uuid.php file */
|
||||
/**
|
||||
* Test the Uuid.php file
|
||||
*/
|
||||
class UuidTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function test_uuid1()
|
||||
public function testUuid1()
|
||||
{
|
||||
$res = Uuid::uuid4();
|
||||
$this->assertRegExp(36, strlen($res));
|
||||
}
|
||||
|
||||
public function test_uuid2()
|
||||
public function testUuid2()
|
||||
{
|
||||
$res = Uuid::uuid4();
|
||||
$this->assertRegExp(true, strspn("0123456789abcdef-", $res) ==
|
||||
|
||||
Reference in New Issue
Block a user