From fcd6ec2a5e19e9d403939d4b005f6165313144bc Mon Sep 17 00:00:00 2001 From: Tugdual Saunier Date: Fri, 30 Sep 2016 14:26:39 +0100 Subject: [PATCH] [TwigBundle] Fix CacheWarmingTest are order dependent --- .../Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php b/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php index 610bfa3b58be..0b04f81af079 100644 --- a/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php +++ b/src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php @@ -72,7 +72,7 @@ public function __construct($withTemplating) { $this->withTemplating = $withTemplating; - parent::__construct('dev', true); + parent::__construct(($withTemplating ? 'with' : 'without').'_templating', true); } public function getName() @@ -106,7 +106,7 @@ public function registerContainerConfiguration(LoaderInterface $loader) public function getCacheDir() { - return sys_get_temp_dir().'/'.Kernel::VERSION.'/CacheWarmingKernel/cache'; + return sys_get_temp_dir().'/'.Kernel::VERSION.'/CacheWarmingKernel/cache/'.$this->environment; } public function getLogDir() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy