8000 [TwigBundle] Adjust CacheWarmingTest for TemplateCacheWarmer introduc… · symfony/symfony@360ca48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 360ca48

Browse files
committed
[TwigBundle] Adjust CacheWarmingTest for TemplateCacheWarmer introduced in 2.8
1 parent fe4ae0b commit 360ca48

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
@@ -31,7 +31,7 @@ public function testCacheIsProperlyWarmedWhenTemplatingIsAvailable()
3131
$this->assertTrue(file_exists($kernel->getCacheDir().'/twig'));
3232
}
3333

34-
public function testCacheIsNotWarmedWhenTemplatingIsDisabled()
34+
public function testCacheIsProperlyWarmedWhenTemplatingIsDisabled()
3535
{
3636
$kernel = new CacheWarmingKernel(false);
3737
$kernel->boot();
@@ -40,7 +40,7 @@ public function testCacheIsNotWarmedWhenTemplatingIsDisabled()
4040
$warmer->enableOptionalWarmers();
4141
$warmer->warmUp($kernel->getCacheDir());
4242

43-
$this->assertFalse(file_exists($kernel->getCacheDir().'/twig'));
43+
$this->assertTrue(file_exists($kernel->getCacheDir().'/twig'));
4444
}
4545

4646
protected function setUp()

0 commit comments

Comments
 (0)
0