[TwigBundle] Fix CacheWarmingTest are order dependent
This commit is contained in:
parent
35091b1837
commit
fcd6ec2a5e
@ -72,7 +72,7 @@ class CacheWarmingKernel extends Kernel
|
||||
{
|
||||
$this->withTemplating = $withTemplating;
|
||||
|
||||
parent::__construct('dev', true);
|
||||
parent::__construct(($withTemplating ? 'with' : 'without').'_templating', true);
|
||||
}
|
||||
|
||||
public function getName()
|
||||
@ -106,7 +106,7 @@ class CacheWarmingKernel extends Kernel
|
||||
|
||||
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()
|
||||
|
Reference in New Issue
Block a user