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 ;
2120 */
2221abstract class FunctionalTestCase extends TestCase
2322{
24- private AbstractPlatform $ platform ;
25-
2623 private Loader $ fixtureLoader ;
2724
2825 private EntityManager $ em ;
@@ -36,15 +33,6 @@ protected function setUp(): void
3633 parent ::setUp ();
3734
3835 $ this ->connection = createDoctrineConnection (selectDatabase: true );
39- $ this ->platform = $ this ->connection ->getDatabasePlatform ();
40-
41- $ this ->platform ->registerDoctrineTypeMapping ('geometry ' , 'binary ' );
42- $ this ->platform ->registerDoctrineTypeMapping ('linestring ' , 'binary ' );
43- $ this ->platform ->registerDoctrineTypeMapping ('multilinestring ' , 'binary ' );
44- $ this ->platform ->registerDoctrineTypeMapping ('multipoint ' , 'binary ' );
45- $ this ->platform ->registerDoctrineTypeMapping ('multipolygon ' , 'binary ' );
46- $ this ->platform ->registerDoctrineTypeMapping ('point ' , 'binary ' );
47- $ this ->platform ->registerDoctrineTypeMapping ('polygon ' , 'binary ' );
4836
4937 $ this ->fixtureLoader = new Loader ();
5038
0 commit comments