Tests do work
This commit is contained in:
1 parent
5de4902f00
commit
2c63e7a15c
1 file changed
+4
-8
+4
-8
@@ -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