Allow to configure the application kernel's custom environment
This commit is contained in:
@@ -83,7 +83,7 @@ Feature: Loading configured application kernel
|
||||
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void
|
||||
{
|
||||
$container->loadFromExtension('framework', [
|
||||
'test' => $this->getEnvironment() === 'test',
|
||||
'test' => true,
|
||||
'secret' => 'Pigeon',
|
||||
]);
|
||||
|
||||
@@ -132,7 +132,7 @@ Feature: Loading configured application kernel
|
||||
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void
|
||||
{
|
||||
$container->loadFromExtension('framework', [
|
||||
'test' => $this->getEnvironment() === 'test',
|
||||
'test' => true,
|
||||
'secret' => 'Pigeon',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user