8000 [TwigBundle] Fix CacheWarmingTest are order dependent · symfony/symfony@fcd6ec2 · GitHub
[go: up one dir, main page]

Skip to content

Commit fcd6ec2

Browse files
committed
[TwigBundle] Fix CacheWarmingTest are order dependent
1 parent 35091b1 commit fcd6ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/TwigBundle/Tests/Functional/CacheWarmingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function __construct($withTemplating)
7272
{
7373
$this->withTemplating = $withTemplating;
7474

75-
parent::__construct('dev', true);
75+
parent::__construct(($withTemplating ? 'with' : 'without').'_templating', true);
7676
}
7777

7878
public function getName()
@@ -106,7 +106,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
106106

107107
public function getCacheDir()
108108
{
109-
return sys_get_temp_dir().'/'.Kernel::VERSION.'/CacheWarmingKernel/cache';
109+
return sys_get_temp_dir().'/'.Kernel::VERSION.'/CacheWarmingKernel/cache/'.$this->environment;
110110
}
111111

112112
public function getLogDir()

0 commit comments

Comments
 (0)
0