aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/tests/suite.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/tests/suite.php b/engine/tests/suite.php
index 19c23c6a5..23637b9b1 100644
--- a/engine/tests/suite.php
+++ b/engine/tests/suite.php
@@ -17,6 +17,10 @@ require_once("$vendor_path/mock_objects.php");
require_once("$vendor_path/reporter.php");
require_once("$test_path/elgg_unit_test.php");
+// turn off system log
+unregister_elgg_event_handler('all', 'all', 'system_log_listener');
+unregister_elgg_event_handler('log', 'systemlog', 'system_log_default_logger');
+
// Disable maximum execution time.
// Tests take a while...
set_time_limit(0);