aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/suite.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-06 22:10:59 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-06 22:10:59 +0000
commit733564094a44deb4c355318a538b153bb743b2a0 (patch)
treecbcd6e857d1486c070e55577d2d40995ba2c3b11 /engine/tests/suite.php
parent298158ed2cb212cb79c413696295e8adbc5cecff (diff)
downloadelgg-733564094a44deb4c355318a538b153bb743b2a0.tar.gz
elgg-733564094a44deb4c355318a538b153bb743b2a0.tar.bz2
Refs #1200: Added tests to test for false being returned with elgg_get_entities(). Disabled execution time during unit tests.
git-svn-id: http://code.elgg.org/elgg/trunk@3914 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/suite.php')
-rwxr-xr-xengine/tests/suite.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/tests/suite.php b/engine/tests/suite.php
index 8bb7d8064..1f6ca61ff 100755
--- a/engine/tests/suite.php
+++ b/engine/tests/suite.php
@@ -1,7 +1,7 @@
<?php
/**
* Runs unit tests.
- *
+ *
* @package Elgg
* @subpackage Test
* @author Curverider Ltd
@@ -19,6 +19,10 @@ require_once("$vendor_path/mock_objects.php");
require_once("$vendor_path/reporter.php");
require_once("$test_path/elgg_unit_test.php");
+// Disable maximum execution time.
+// Tests take a while...
+set_time_limit(0);
+
$suite = new TestSuite('Elgg Core Unit Tests');
// emit a hook to pull in all tests