mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
add enableSecurity()
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
@@ -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
|
||||
*
|
||||
*/
|
||||
|
Reference in New Issue
Block a user