Permalink
Browse files

Fixed run-single.php testing utility in order to handle blocks and co…

…mponents correctly.
  • Loading branch information...
zyxist committed Oct 30, 2010
1 parent 5f146a6 commit 4536283109f5e8971d175205a2eaaef0d7f148d1
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/run-single.php
View
@@ -37,6 +37,8 @@ public function init()
$tpl->parser = Opt_Class::XML_MODE;
$tpl->stripWhitespaces = false;
$tpl->prologRequired = true;
+ $tpl->register(Opt_Class::OPT_COMPONENT, 'opt:myComponent', 'Extra_Mock_Component');
+ $tpl->register(Opt_Class::OPT_BLOCK, 'opt:myBlock', 'Extra_Mock_Block');
$tpl->setup();
$this->tpl = $tpl;
} // end init();

0 comments on commit 4536283

Please sign in to comment.