Skip to content

Commit

Permalink
fix preview error controller compat test
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 31, 2020
1 parent 3a5c187 commit 4927cbe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Tests/Functional/app/AppKernel.php
Expand Up @@ -43,7 +43,6 @@
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpKernel\EventListener\ErrorListener;
use Symfony\Component\HttpKernel\Kernel;

/**
Expand Down Expand Up @@ -102,12 +101,6 @@ public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(function (ContainerBuilder $container) {
$container->setParameter('container.autowiring.strict_mode', true);
$container->register('logger', NullLogger::class);

if (isset($this->bundles['TwigBundle']) && class_exists(ErrorListener::class)) {
$container->loadFromExtension('twig', [
'exception_controller' => null,
]);
}
});
}

Expand Down

0 comments on commit 4927cbe

Please sign in to comment.