unit_tests.php 473 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Elgg unit and integration tests
  4. *
  5. */
  6. echo '<p>' . elgg_echo('developers:unit_tests:description') . '</p>';
  7. echo '<p><strong>' . elgg_echo('developers:unit_tests:warning') . '</strong></p>';
  8. // create a button to run tests
  9. $params = array(
  10. 'text' => elgg_echo('developers:unit_tests:run'),
  11. 'href' => 'engine/tests/suite.php',
  12. 'class' => 'elgg-button elgg-button-submit',
  13. 'is_trusted' => true,
  14. );
  15. echo '<p>' . elgg_view('output/url', $params) . '</p>';