This commit is contained in:
bzick
2014-06-28 16:38:50 +04:00
parent 7985c34c9c
commit 4773d77611
3 changed files with 24 additions and 22 deletions

View File

@@ -1267,12 +1267,15 @@ class TemplateTest extends TestCase
);
}
public function _testSandbox()
/**
* @group sb
*/
public function testSandbox()
{
try {
var_dump(
$this->fenom->setOptions(0)->compileCode(
"{autoescape true}{test_block_function:raw}{\$html}{/test_block_function}{/autoescape}"
$this->fenom->compileCode(
'{var $a = [3, 5,6]}'
)->getBody()
);
} catch (\Exception $e) {