File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020use Doctrine \ORM \EntityManager ;
2121use Doctrine \ORM \Events ;
2222use Doctrine \ORM \Tools \SchemaTool ;
23- use Doctrine \Tests \DoctrineTestCase ;
2423use Doctrine \Tests \OrmTestCase ;
2524use Geocoder \Provider \Nominatim \Nominatim ;
2625use Http \Client \Curl \Client ;
@@ -47,7 +46,7 @@ class GeocoderListenerTest extends OrmTestCase
4746
4847 public static function doSetUpBeforeClass (): void
4948 {
50- if (!class_exists (DoctrineTestCase ::class)) {
49+ if (!class_exists (OrmTestCase ::class)) {
5150 /*
5251 * We check for DoctrineTestCase because it is in the same package as OrmTestCase and we want to be able to
5352 * fake OrmTestCase
@@ -65,7 +64,7 @@ protected function doSetUp(): void
6564 'memory ' => true ,
6665 ]);
6766
68- $ this ->em = $ this ->_getTestEntityManager ($ conn );
67+ $ this ->em = $ this ->getTestEntityManager ($ conn );
6968
7069 $ reader = new SimpleAnnotationReader ();
7170 $ reader ->addNamespace ('Bazinga\GeocoderBundle\Mapping\Annotations ' );
You can’t perform that action at this time.
0 commit comments