aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/suite.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-12 15:16:52 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-12 15:16:52 +0000
commitc499b05093744813a04fe537e0b588a547f3a784 (patch)
tree00ea4ea17073e50b450d27c12fac3a18790d5e2b /engine/tests/suite.php
parent6008f2d28266f9a5ca1c49bccea4a3a0766105f7 (diff)
downloadelgg-c499b05093744813a04fe537e0b588a547f3a784.tar.gz
elgg-c499b05093744813a04fe537e0b588a547f3a784.tar.bz2
Adding unit tests for the ElggObject class.
Restricting testing suite to only be run as a logged-in user. This will not allow the tests to be run from the command line, but this is already the case due to debug static. git-svn-id: http://code.elgg.org/elgg/trunk@3527 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/suite.php')
-rwxr-xr-xengine/tests/suite.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/tests/suite.php b/engine/tests/suite.php
index c8972a78f..729958527 100755
--- a/engine/tests/suite.php
+++ b/engine/tests/suite.php
@@ -11,6 +11,9 @@
require_once(dirname( __FILE__ ) . '/../start.php');
+// Ensure that only logged-in users can see this page
+gatekeeper();
+
$vendor_path = "$CONFIG->path/vendors/simpletest";
$test_path = "$CONFIG->path/engine/tests";