Allow to configure the application kernel's custom environment

This commit is contained in:
Kamil Kokot
2019-01-10 23:25:19 +01:00
parent 01f458149e
commit 8dcd3e9d4d
4 changed files with 26 additions and 7 deletions

View File

@@ -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',
]);