summaryrefslogtreecommitdiff
path: root/tests/test_tools/simpletest
diff options
context:
space:
mode:
authorwei <>2006-07-14 05:27:35 +0000
committerwei <>2006-07-14 05:27:35 +0000
commit26c3775697fc94086269d54099576679137e5eda (patch)
tree349d684c5b1a4db7e09e79f3376cad7ef391a0ee /tests/test_tools/simpletest
parent873b2586d6d4ccb8416cd5aac132d992656c1ef5 (diff)
Fixed #284
Diffstat (limited to 'tests/test_tools/simpletest')
-rw-r--r--tests/test_tools/simpletest/test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tools/simpletest/test_case.php b/tests/test_tools/simpletest/test_case.php
index e3a1aff5..1bf49789 100644
--- a/tests/test_tools/simpletest/test_case.php
+++ b/tests/test_tools/simpletest/test_case.php
@@ -478,7 +478,7 @@
*/
function _requireWithError($file) {
$this->_enableErrorReporting();
- include($file);
+ include_once($file);
$error = isset($php_errormsg) ? $php_errormsg : false;
$this->_disableErrorReporting();
$self_inflicted_errors = array(