1010use Doctrine \Common \DataFixtures \Loader ;
1111use Doctrine \Common \DataFixtures \Purger \ORMPurger ;
1212use Doctrine \DBAL \Connection ;
13- use Doctrine \DBAL \Platforms \AbstractPlatform ;
1413use Doctrine \ORM \EntityManager ;
1514use Doctrine \ORM \ORMSetup ;
1615use Doctrine \ORM \Tools \SchemaTool ;
2322 */
2423abstract class FunctionalTestCase extends TestCase
2524{
26- private AbstractPlatform $ platform ;
27-
2825 private Loader $ fixtureLoader ;
2926
3027 private EntityManager $ em ;
@@ -38,15 +35,6 @@ protected function setUp(): void
3835 parent ::setUp ();
3936
4037 $ this ->connection = createDoctrineConnection (selectDatabase: true );
41- $ this ->platform = $ this ->connection ->getDatabasePlatform ();
42-
43- $ this ->platform ->registerDoctrineTypeMapping ('geometry ' , 'binary ' );
44- $ this ->platform ->registerDoctrineTypeMapping ('linestring ' , 'binary ' );
45- $ this ->platform ->registerDoctrineTypeMapping ('multilinestring ' , 'binary ' );
46- $ this ->platform ->registerDoctrineTypeMapping ('multipoint ' , 'binary ' );
47- $ this ->platform ->registerDoctrineTypeMapping ('multipolygon ' , 'binary ' );
48- $ this ->platform ->registerDoctrineTypeMapping ('point ' , 'binary ' );
49- $ this ->platform ->registerDoctrineTypeMapping ('polygon ' , 'binary ' );
5038
5139 $ this ->fixtureLoader = new Loader ();
5240
0 commit comments