diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php index 1c8c9bb9..7182c33a 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/CompileBlockPluginTest.php @@ -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')); } /** diff --git a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/templates/registered_method.tpl b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/templates/registered_method.tpl index e0bdfaee..6334e244 100644 --- a/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/templates/registered_method.tpl +++ b/tests/UnitTests/TemplateSource/TagTests/BlockPlugin/templates/registered_method.tpl @@ -1 +1 @@ -{blockpluginobject}hello world{/blockpluginobject} \ No newline at end of file +{blockpluginmethod}hello world{/blockpluginmethod} \ No newline at end of file