Tests still passing

This commit is contained in:
Brabli
2022-07-20 22:06:26 +01:00
parent cc2bd529d2
commit 5de4902f00
2 changed files with 1 additions and 2 deletions

View File

@@ -31,7 +31,6 @@ class AppKernel extends Kernel
*/ */
public function registerContainerConfiguration(LoaderInterface $loader): void public function registerContainerConfiguration(LoaderInterface $loader): void
{ {
dump(__DIR__.'/config_'.$this->getEnvironment().'.yml');
$loader->load(__DIR__.'/config_'.$this->getEnvironment().'.yml'); $loader->load(__DIR__.'/config_'.$this->getEnvironment().'.yml');
} }
} }

View File

@@ -20,7 +20,7 @@ class GeocodeTest extends KernelTestCase
protected function setUp(): void protected function setUp(): void
{ {
$kernel = new AppKernel('test', true); $kernel = new AppKernel('test', false);
$kernel->boot(); $kernel->boot();
$this->geocoder = $kernel->getContainer()->get(Geocoder::class); $this->geocoder = $kernel->getContainer()->get(Geocoder::class);