mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Disable sandbox
This commit is contained in:
parent
e9b7951d7a
commit
e68f3dd99a
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user