add enableSecurity()

This commit is contained in:
Uwe Tews
2018-04-26 18:00:17 +02:00
parent 2f87c74cba
commit 18d15d7669
2 changed files with 4 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ class ExtendsResourceTest extends PHPUnit_Smarty
public function setUp()
{
$this->setUpSmarty(dirname(__FILE__));
$this->smarty->enableSecurity();
}
@@ -52,7 +53,7 @@ class ExtendsResourceTest extends PHPUnit_Smarty
}
/**
* test child/parent template chain with apppend
* @runInSeparateProcess
* @run InSeparateProcess
* @preserveGlobalState disabled
* @dataProvider data
*/

View File

@@ -18,6 +18,7 @@ class FileResourceTest extends PHPUnit_Smarty
public function setUp()
{
$this->setUpSmarty(dirname(__FILE__));
$this->smarty->enableSecurity();
}
public function testInit()
@@ -200,7 +201,7 @@ class FileResourceTest extends PHPUnit_Smarty
/**
*
* @runInSeparateProcess
* @run InSeparateProcess
* @preserveGlobalState disabled
*
*/