aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/elgg_unit_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/tests/elgg_unit_test.php')
-rw-r--r--engine/tests/elgg_unit_test.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/engine/tests/elgg_unit_test.php b/engine/tests/elgg_unit_test.php
new file mode 100644
index 000000000..70f8788a0
--- /dev/null
+++ b/engine/tests/elgg_unit_test.php
@@ -0,0 +1,29 @@
+<?php
+
+/**
+ * Elgg Core Unit Tester
+ *
+ * This class is to be extended by all Elgg unit tests. As such, any method here
+ * will be available to the tests.
+ */
+abstract class ElggCoreUnitTest extends UnitTestCase
+{
+ /**
+ * Class constructor.
+ *
+ * A simple wrapper to call the parent constructor.
+ */
+ public function __construct()
+ {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ *
+ * The parent does not provide a destructor, so including an explicit one here.
+ */
+ public function __destruct()
+ {
+ }
+}