mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Use rhumsaa/uuid instead of custom uuid implementation
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Rhumsaa\Uuid\Uuid;
|
||||
|
||||
class record_adapterTest extends \PhraseanetAuthenticatedTestCase
|
||||
{
|
||||
private static $thumbtitled = false;
|
||||
@@ -65,7 +67,7 @@ class record_adapterTest extends \PhraseanetAuthenticatedTestCase
|
||||
|
||||
public function testGet_uuid()
|
||||
{
|
||||
$this->assertTrue(uuid::is_valid(self::$DI['record_1']->get_uuid()));
|
||||
$this->assertTrue(Uuid::isValid(self::$DI['record_1']->get_uuid()));
|
||||
}
|
||||
|
||||
public function testGet_modification_date()
|
||||
|
Reference in New Issue
Block a user