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 30259c1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Tests/Functional/app/AppKernel.php
Expand Up @@ -102,12 +102,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 30259c1

Please sign in to comment.