aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/test_skeleton.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-09 17:11:25 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-09 17:11:25 +0000
commitb62012bf3da994298ad52a4ccec06e814bcc5a79 (patch)
treee8117952cca46ef10c6543d388e92bd6e232fb34 /engine/tests/test_skeleton.php
parent4bad66f81ae1c6798af56121ffba1045a36ee034 (diff)
downloadelgg-b62012bf3da994298ad52a4ccec06e814bcc5a79.tar.gz
elgg-b62012bf3da994298ad52a4ccec06e814bcc5a79.tar.bz2
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
Diffstat (limited to 'engine/tests/test_skeleton.php')
-rw-r--r--engine/tests/test_skeleton.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/tests/test_skeleton.php b/engine/tests/test_skeleton.php
index 494887bc2..42bbd4ba5 100644
--- a/engine/tests/test_skeleton.php
+++ b/engine/tests/test_skeleton.php
@@ -13,8 +13,7 @@ class ElggCoreSkeletonTest extends ElggCoreUnitTest {
* Called before each test object.
*/
public function __construct() {
- // first, hook into ElggCoreUnitTest::__construct()
- $this->__construct();
+ parent::__construct();
}
/**
@@ -35,8 +34,7 @@ class ElggCoreSkeletonTest extends ElggCoreUnitTest {
* Called after each test object.
*/
public function __destruct() {
- // hook into ElggCoreUnitTest::__destruct();
- $this->__destruct();
+ parent::__destruct();
}
/**