From c499b05093744813a04fe537e0b588a547f3a784 Mon Sep 17 00:00:00 2001 From: nickw Date: Mon, 12 Oct 2009 15:16:52 +0000 Subject: 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 --- engine/tests/suite.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/tests/suite.php') 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"; -- cgit v1.2.3