This commit is contained in:
uwetews
2015-10-20 01:28:39 +02:00
parent 4c24ec6e20
commit e4ed69f174

View File

@@ -217,7 +217,7 @@ class ExtendsResourceTest extends PHPUnit_Smarty
$this->smarty->caching = true; $this->smarty->caching = true;
$this->smarty->cache_lifetime = 1000; $this->smarty->cache_lifetime = 1000;
$tpl = $this->smarty->createTemplate('extends:021_parent.tpl|021_child.tpl|021_grandchild.tpl'); $tpl = $this->smarty->createTemplate('extends:021_parent.tpl|021_child.tpl|021_grandchild.tpl');
$this->assertFalse($tpl->isCached()); $this->assertTrue($tpl->isCached());
$result = $this->smarty->fetch($tpl); $result = $this->smarty->fetch($tpl);
$this->assertContains('Grandchild Page Title', $result); $this->assertContains('Grandchild Page Title', $result);
} }