File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Bundle/TwigBundle/Tests/Functional Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function testCacheIsProperlyWarmedWhenTemplatingIsAvailable()
31
31
$ this ->assertTrue (file_exists ($ kernel ->getCacheDir ().'/twig ' ));
32
32
}
33
33
34
- public function testCacheIsNotWarmedWhenTemplatingIsDisabled ()
34
+ public function testCacheIsProperlyWarmedWhenTemplatingIsDisabled ()
35
35
{
36
36
$ kernel = new CacheWarmingKernel (false );
37
37
$ kernel ->boot ();
@@ -40,7 +40,7 @@ public function testCacheIsNotWarmedWhenTemplatingIsDisabled()
40
40
$ warmer ->enableOptionalWarmers ();
41
41
$ warmer ->warmUp ($ kernel ->getCacheDir ());
42
42
43
- $ this ->assertFalse (file_exists ($ kernel ->getCacheDir ().'/twig ' ));
43
+ $ this ->assertTrue (file_exists ($ kernel ->getCacheDir ().'/twig ' ));
44
44
}
45
45
46
46
protected function setUp ()
You can’t perform that action at this time.
0 commit comments