mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Add custom additionally options for template
This commit is contained in:
@ -645,6 +645,7 @@ class TemplateTest extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @group include
|
||||
* @dataProvider providerInclude
|
||||
*/
|
||||
public function testInclude($code, $vars, $result) {
|
||||
|
@ -36,9 +36,9 @@ class AspectTest extends \Aspect\TestCase {
|
||||
public function testStorage() {
|
||||
$this->tpl('custom.tpl', 'Custom template');
|
||||
$this->assertSame("Custom template", $this->aspect->fetch('custom.tpl', array()));
|
||||
$this->aspect->clearCompiledTemplate('custom.tpl', false);
|
||||
//$this->aspect->clearCompiledTemplate('custom.tpl', false);
|
||||
|
||||
$this->assertSame("Custom template", $this->aspect->fetch('custom.tpl', array()));
|
||||
//$this->assertSame("Custom template", $this->aspect->fetch('custom.tpl', array()));
|
||||
|
||||
$this->tpl('custom.tpl', 'Custom template 2');
|
||||
$this->assertSame("Custom template", $this->aspect->fetch('custom.tpl', array()));
|
||||
|
Reference in New Issue
Block a user