diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-31 01:43:56 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-31 01:43:56 +0000 |
commit | 3a568aac00b71f948ed8d49f828e38471ef58d2e (patch) | |
tree | c3e5d587bef7f24348e05eeb62f00195405f9334 /engine/tests/suite.php | |
parent | aed5a35ed9fa851c96b6e18485188f49de127f1c (diff) | |
download | elgg-3a568aac00b71f948ed8d49f828e38471ef58d2e.tar.gz elgg-3a568aac00b71f948ed8d49f828e38471ef58d2e.tar.bz2 |
Unit tests with the system log turned on are too slow
git-svn-id: http://code.elgg.org/elgg/trunk@7164 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/suite.php')
-rw-r--r-- | engine/tests/suite.php | 4 |
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); |