File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 20
20
use Doctrine \ORM \EntityManager ;
21
21
use Doctrine \ORM \Events ;
22
22
use Doctrine \ORM \Tools \SchemaTool ;
23
- use Doctrine \Tests \DoctrineTestCase ;
24
23
use Doctrine \Tests \OrmTestCase ;
25
24
use Geocoder \Provider \Nominatim \Nominatim ;
26
25
use Http \Client \Curl \Client ;
@@ -47,7 +46,7 @@ class GeocoderListenerTest extends OrmTestCase
47
46
48
47
public static function doSetUpBeforeClass (): void
49
48
{
50
- if (!class_exists (DoctrineTestCase ::class)) {
49
+ if (!class_exists (OrmTestCase ::class)) {
51
50
/*
52
51
* We check for DoctrineTestCase because it is in the same package as OrmTestCase and we want to be able to
53
52
* fake OrmTestCase
@@ -65,7 +64,7 @@ protected function doSetUp(): void
65
64
'memory ' => true ,
66
65
]);
67
66
68
- $ this ->em = $ this ->_getTestEntityManager ($ conn );
67
+ $ this ->em = $ this ->getTestEntityManager ($ conn );
69
68
70
69
$ reader = new SimpleAnnotationReader ();
71
70
$ reader ->addNamespace ('Bazinga\GeocoderBundle\Mapping\Annotations ' );
You can’t perform that action at this time.
0 commit comments