From b169ef92599314698e3f4c910a0295a500f0fecc Mon Sep 17 00:00:00 2001 From: Wouter de Jong Date: Sat, 27 Feb 2021 20:48:21 +0100 Subject: [PATCH] [FrameworkBundle] Explicitly disable lock to fix FrameworkBundle standalone tests --- .../Tests/DependencyInjection/PhpFrameworkExtensionTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/PhpFrameworkExtensionTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/PhpFrameworkExtensionTest.php index b46bcf7713..e400b95506 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/PhpFrameworkExtensionTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/PhpFrameworkExtensionTest.php @@ -90,6 +90,7 @@ class PhpFrameworkExtensionTest extends FrameworkExtensionTest try { $this->createContainerFromClosure(function (ContainerBuilder $container) { $container->loadFromExtension('framework', [ + 'lock' => false, 'rate_limiter' => [ 'with_lock' => ['policy' => 'fixed_window', 'limit' => 10, 'interval' => '1 hour'], ],