aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/admin
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-01 14:05:31 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-01 14:05:31 -0500
commit51229ebc6691f8edb17a5f15328aa626eabc09fc (patch)
tree1e7bc8656e62cfea4ec5068946d7604120f38166 /mod/developers/views/default/admin
parent280f5730b49da487a5ca82c395ca265e37dad997 (diff)
downloadelgg-51229ebc6691f8edb17a5f15328aa626eabc09fc.tar.gz
elgg-51229ebc6691f8edb17a5f15328aa626eabc09fc.tar.bz2
Fixes #4137 moves test UI to developers plugin
Diffstat (limited to 'mod/developers/views/default/admin')
-rw-r--r--mod/developers/views/default/admin/develop_tools/unit_tests.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/mod/developers/views/default/admin/develop_tools/unit_tests.php b/mod/developers/views/default/admin/develop_tools/unit_tests.php
new file mode 100644
index 000000000..81658e88b
--- /dev/null
+++ b/mod/developers/views/default/admin/develop_tools/unit_tests.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Elgg unit and integration tests
+ *
+ */
+
+echo '<p>' . elgg_echo('developers:unit_tests:description') . '</p>';
+echo '<p><strong>' . elgg_echo('developers:unit_tests:warning') . '</strong></p>';
+
+// create a button to run tests
+$params = array(
+ 'text' => elgg_echo('developers:unit_tests:run'),
+ 'href' => 'engine/tests/suite.php',
+ 'class' => 'elgg-button elgg-button-submit',
+ 'is_trusted' => true,
+);
+echo '<p>' . elgg_view('output/url', $params) . '</p>';