Skip to content

Commit 434fe0f

Browse files
committed
explicitly set framework.router.utf8 value in test kernel
1 parent 560eb8f commit 434fe0f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Test/MakerTestKernel.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ protected function configureRouting(RoutingConfigurator $routes)
5353

5454
protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader)
5555
{
56-
$c->setParameter('kernel.secret', 123);
56+
$c->loadFromExtension('framework', [
57+
'secret' => 123,
58+
'router' => [
59+
'utf8' => true,
60+
],
61+
]);
5762
}
5863

5964
public function getProjectDir()

0 commit comments

Comments
 (0)