Tests do work
This commit is contained in:
@@ -16,14 +16,10 @@ class AppKernel extends Kernel
|
||||
*/
|
||||
public function registerBundles(): array
|
||||
{
|
||||
$bundles = array();
|
||||
|
||||
if (in_array($this->getEnvironment(), array('test'))) {
|
||||
$bundles[] = new FrameworkBundle();
|
||||
$bundles[] = new PcmGeocodeBundle();
|
||||
}
|
||||
|
||||
return $bundles;
|
||||
return [
|
||||
new FrameworkBundle(),
|
||||
new PcmGeocodeBundle()
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user