summaryrefslogtreecommitdiff
path: root/tests/test_tools/simpletest
diff options
context:
space:
mode:
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(