Use alias
This commit is contained in:
@@ -22,7 +22,7 @@ class GeocodeTest extends KernelTestCase
|
||||
{
|
||||
$kernel = new AppKernel('test', false);
|
||||
$kernel->boot();
|
||||
$this->geocoder = $kernel->getContainer()->get(Geocoder::class);
|
||||
$this->geocoder = $kernel->getContainer()->get('pcm_geocode.geocoder');
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user