From b62012bf3da994298ad52a4ccec06e814bcc5a79 Mon Sep 17 00:00:00 2001 From: nickw Date: Fri, 9 Oct 2009 17:11:25 +0000 Subject: Creating an ElggObject unit test. Fixing issues with the unit test plugin hooks, as well as infinite looping bugs introduced by the unit test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3519 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/entities.php') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 779efb7af..b72eb6ff0 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -2787,8 +2787,8 @@ */ function entities_test($hook, $type, $value, $params) { global $CONFIG; - $params[] = $CONFIG->path . 'engine/tests/objects/entities.php'; - return $params; + $value[] = $CONFIG->path . 'engine/tests/objects/entities.php'; + return $value; } /** -- cgit v1.2.3