cvs: smarty /unit_test test_cases.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1095777654@cvsserver> |
messju Tue Sep 21 10:40:54 2004 EDT
Modified files:
/smarty/unit_test test_cases.php
Log:
fixed test-cases to use SMARTY_CORE_DIR
http://cvs.php.net/diff.php/smarty/unit_test/test_cases.php?r1=1.11&r2=1.12&ty=u
Index: smarty/unit_test/test_cases.php
diff -u smarty/unit_test/test_cases.php:1.11 smarty/unit_test/test_cases.php:1.12
--- smarty/unit_test/test_cases.php:1.11 Wed Sep 15 11:05:30 2004
+++ smarty/unit_test/test_cases.php Tue Sep 21 10:40:53 2004
@@ -377,12 +377,12 @@
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));
}
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));
}
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php