From 51229ebc6691f8edb17a5f15328aa626eabc09fc Mon Sep 17 00:00:00 2001
From: Cash Costello
Date: Sun, 1 Jan 2012 14:05:31 -0500
Subject: Fixes #4137 moves test UI to developers plugin
---
.../views/default/admin/develop_tools/unit_tests.php | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 mod/developers/views/default/admin/develop_tools/unit_tests.php
(limited to 'mod/developers/views')
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 @@
+' . elgg_echo('developers:unit_tests:description') . '
';
+echo '' . elgg_echo('developers:unit_tests:warning') . '
';
+
+// 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 '' . elgg_view('output/url', $params) . '
';
--
cgit v1.2.3