2525use QuirkyFieldName \AssociationHost ;
2626use QuirkyFieldName \Embeddable ;
2727use QuirkyFieldName \EmbeddableHost ;
28- use Symfony \Bridge \Doctrine \Types \UuidType ;
29- use Symfony \Component \Uid \Uuid ;
28+ use Symfony \Bridge \Doctrine \Types \UlidType ;
29+ use Symfony \Component \Uid \Ulid ;
3030
3131final class DoctrineTest extends Unit
3232{
@@ -36,8 +36,8 @@ final class DoctrineTest extends Unit
3636
3737 protected static function _setUpBeforeClass ()
3838 {
39- if (!Type::hasType ('uuid ' )) {
40- Type::addType ('uuid ' , UuidType ::class);
39+ if (!Type::hasType ('ulid ' )) {
40+ Type::addType ('ulid ' , UlidType ::class);
4141 }
4242 }
4343
@@ -69,7 +69,7 @@ protected function _setUp()
6969 require_once $ dir . "/CircularRelations/A.php " ;
7070 require_once $ dir . "/CircularRelations/B.php " ;
7171 require_once $ dir . "/CircularRelations/C.php " ;
72- require_once $ dir . '/EntityWithUuid .php ' ;
72+ require_once $ dir . '/EntityWithUlid .php ' ;
7373
7474 $ sqliteDriver = 'sqlite3 ' ;
7575 // The driver "sqlite3" is only available as-of doctrine/dbal:3.5
@@ -111,7 +111,7 @@ protected function _setUp()
111111 $ this ->em ->getClassMetadata (\CircularRelations \A::class),
112112 $ this ->em ->getClassMetadata (\CircularRelations \B::class),
113113 $ this ->em ->getClassMetadata (\CircularRelations \C::class),
114- $ this ->em ->getClassMetadata (EntityWithUuid ::class),
114+ $ this ->em ->getClassMetadata (EntityWithUlid ::class),
115115 ]);
116116
117117 $ container = Stub::make (ModuleContainer::class);
@@ -435,13 +435,13 @@ public function testCompositePrimaryKeyWithEntities()
435435
436436 /**
437437 * The purpose of this test is to verify that entites with object @id, that are
438- * not entites itself, e.g. Symfony\Component\Uid\Uuid , don't break the debug message.
438+ * not entites itself, e.g. Symfony\Component\Uid\Ulid , don't break the debug message.
439439 */
440440 public function testDebugEntityWithNonEntityButObjectId ()
441441 {
442- $ pk = $ this ->module ->haveInRepository (EntityWithUuid ::class);
442+ $ pk = $ this ->module ->haveInRepository (EntityWithUlid ::class);
443443
444- self ::assertInstanceOf (Uuid ::class, $ pk );
444+ self ::assertInstanceOf (Ulid ::class, $ pk );
445445 }
446446
447447 public function testRefresh ()
0 commit comments