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}');
}
public function _testSandbox()
{
try {
$this->fenom->compile("macro_recursive.tpl");
$this->fenom->flush();
var_dump($this->fenom->fetch("macro_recursive.tpl", []));
} catch (\Exception $e) {
var_dump($e->getMessage() . ": " . $e->getTraceAsString());
}
exit;
}
// public function _testSandbox()
// {
// try {
// $this->fenom->compile("macro_recursive.tpl");
// $this->fenom->flush();
// var_dump($this->fenom->fetch("macro_recursive.tpl", []));
// } catch (\Exception $e) {
// var_dump($e->getMessage() . ": " . $e->getTraceAsString());
// }
// exit;
// }
public function testMacros()
{