File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1515use Symfony \Bundle \FrameworkBundle \FrameworkBundle ;
1616use Symfony \Bundle \FrameworkBundle \Tests \TestCase ;
1717use Symfony \Component \Config \Loader \LoaderInterface ;
18+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
1819use Symfony \Component \Filesystem \Filesystem ;
1920use Symfony \Component \HttpKernel \Kernel ;
2021
@@ -63,8 +64,11 @@ public function getCacheDir(): string
6364 return $ this ->varDir .'/cache ' ;
6465 }
6566
66- public function registerContainerConfiguration (LoaderInterface $ loader )
67+ public function registerContainerConfiguration (LoaderInterface $ loader ): void
6768 {
69+ $ loader ->load (static function (ContainerBuilder $ container ) {
70+ $ container ->loadFromExtension ('framework ' , ['http_method_override ' => false ]);
71+ });
6872 }
6973 };
7074 $ kernel ->boot ();
You can’t perform that action at this time.
0 commit comments