mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
fixed test-cases to use SMARTY_CORE_DIR
This commit is contained in:
@@ -377,12 +377,12 @@ foo:foo:b', $this->smarty->fetch('parse_obj_meth.tpl'));
|
|||||||
|
|
||||||
|
|
||||||
function test_core_is_secure_file_exists() {
|
function test_core_is_secure_file_exists() {
|
||||||
$file = SMARTY_DIR . 'core/core.is_secure.php';
|
$file = SMARTY_CORE_DIR . 'core.is_secure.php';
|
||||||
$this->assertTrue(file_exists($file));
|
$this->assertTrue(file_exists($file));
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_core_is_secure_file_include() {
|
function test_core_is_secure_file_include() {
|
||||||
$file = SMARTY_DIR . 'core/core.is_secure.php';
|
$file = SMARTY_CORE_DIR . 'core.is_secure.php';
|
||||||
$this->assertTrue(include($file));
|
$this->assertTrue(include($file));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user