mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
update block plugin tests
This commit is contained in:
@@ -95,7 +95,7 @@ class CompileBlockPluginTest extends PHPUnit_Smarty
|
||||
{
|
||||
$object = new myblockclass1();
|
||||
$this->smarty->registerObject('myobject', $object, array(), true, array('objectfunc'));
|
||||
$this->assertEquals('method block test', $this->smarty->fetch('registered_object.tpl'));
|
||||
$this->assertEquals('object block test', $this->smarty->fetch('registered_object.tpl'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -1 +1 @@
|
||||
{blockpluginobject}hello world{/blockpluginobject}
|
||||
{blockpluginmethod}hello world{/blockpluginmethod}
|
Reference in New Issue
Block a user