From 2a279b9db9a08bc183f8fc35f83676b050690e49 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Sun, 8 Jan 2017 11:47:03 +0100 Subject: [PATCH] [TwigBundle] Disable form in tests --- .../Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php | 2 ++ .../TwigBundle/Tests/Functional/NoTemplatingEntryTest.php | 1 + 2 files changed, 3 insertions(+) diff --git a/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php b/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php index 26ae8306b9927..8285d3451d9e8 100644 --- a/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php +++ b/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php @@ -90,6 +90,7 @@ public function registerContainerConfiguration(LoaderInterface $loader) $loader->load(function ($container) { $container->loadFromExtension('framework', array( 'secret' => '$ecret', + 'form' => array('enabled' => false), )); }); @@ -99,6 +100,7 @@ public function registerContainerConfiguration(LoaderInterface $loader) 'secret' => '$ecret', 'templating' => array('engines' => array('twig')), 'router' => array('resource' => '%kernel.root_dir%/Resources/config/empty_routing.yml'), + 'form' => array('enabled' => false), )); }); } diff --git a/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php b/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php index 068a10526cb6f..63933e49a18f7 100644 --- a/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php +++ b/src/Symfony/Bundle/TwigBundle/Tests/Functional/NoTemplatingEntryTest.php @@ -62,6 +62,7 @@ public function registerContainerConfiguration(LoaderInterface $loader) $loader->load(function ($container) { $container->loadFromExtension('framework', array( 'secret' => '$ecret', + 'form' => array('enabled' => false), )); }); }