update block plugin tests

This commit is contained in:
uwetews
2016-01-02 11:48:31 +01:00
parent 5f7417d495
commit 42b864b707
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ class CompileBlockPluginTest extends PHPUnit_Smarty
{ {
$object = new myblockclass1(); $object = new myblockclass1();
$this->smarty->registerObject('myobject', $object, array(), true, array('objectfunc')); $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'));
} }
/** /**

View File

@@ -1 +1 @@
{blockpluginobject}hello world{/blockpluginobject} {blockpluginmethod}hello world{/blockpluginmethod}