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