Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 25, 2024
1 parent bddb630 commit 42e4bc7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Tests/Fixture/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,17 @@ public function registerBundles(): iterable

protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader): void
{
$c->loadFromExtension('framework', [
$config = [
'secret' => 'S3CRET',
'test' => true,
]);

'router' => ['utf8' => true],
'http_method_override' => false,
];
if (Kernel::MAJOR_VERSION >= 6 && Kernel::MINOR_VERSION >= 2) {
$config['handle_all_throwables'] = true;
$config['php_errors']['log'] = true;
}
$c->loadFromExtension('framework', $config);
$c->loadFromExtension('twig', [
'default_path' => __DIR__.'/views',
]);
Expand Down

0 comments on commit 42e4bc7

Please sign in to comment.