Skip to content

Commit 9cbdd32

Browse files
Fix merge
1 parent f1e2c3a commit 9cbdd32

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Tests/CacheWarmer/ConfigBuilderCacheWarmerTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
1616
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
1717
use Symfony\Component\Config\Loader\LoaderInterface;
18+
use Symfony\Component\DependencyInjection\ContainerBuilder;
1819
use Symfony\Component\Filesystem\Filesystem;
1920
use 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();

0 commit comments

Comments
 (0)