Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfcd6ec2

Browse files
committed
[TwigBundle] Fix CacheWarmingTest are order dependent
1 parent35091b1 commitfcd6ec2

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
publicfunctiongetName()
@@ -106,7 +106,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
106106

107107
publicfunctiongetCacheDir()
108108
{
109-
returnsys_get_temp_dir().'/'.Kernel::VERSION.'/CacheWarmingKernel/cache';
109+
returnsys_get_temp_dir().'/'.Kernel::VERSION.'/CacheWarmingKernel/cache/'.$this->environment;
110110
}
111111

112112
publicfunctiongetLogDir()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp