blob: 81658e88b664e25f03d1ac4fab47d4f904f0b902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>';
|