Disable sandbox

This commit is contained in:
bzick 2013-07-29 16:32:54 +04:00
parent e9b7951d7a
commit e68f3dd99a

View File

@ -54,17 +54,17 @@ class MacrosTest extends TestCase
{macro.factorial num=10}'); {macro.factorial num=10}');
} }
public function _testSandbox() // public function _testSandbox()
{ // {
try { // try {
$this->fenom->compile("macro_recursive.tpl"); // $this->fenom->compile("macro_recursive.tpl");
$this->fenom->flush(); // $this->fenom->flush();
var_dump($this->fenom->fetch("macro_recursive.tpl", [])); // var_dump($this->fenom->fetch("macro_recursive.tpl", []));
} catch (\Exception $e) { // } catch (\Exception $e) {
var_dump($e->getMessage() . ": " . $e->getTraceAsString()); // var_dump($e->getMessage() . ": " . $e->getTraceAsString());
} // }
exit; // exit;
} // }
public function testMacros() public function testMacros()
{ {