Skip to content

Commit

Permalink
MDL-21007 - take out the box saying FakeTests are disabled. Not neede…
Browse files Browse the repository at this point in the history
…d anymore.
  • Loading branch information
stronk7 committed Nov 30, 2009
1 parent 2319bde commit 6f5a517
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions admin/report/unittest/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,28 +119,6 @@
echo '</form>';
echo $OUTPUT->box_end();

echo $OUTPUT->box_start('generalbox boxwidthwide boxaligncenter');
if (true) {
echo "<p>Fake test tables are disabled for now, sorry</p>"; // DO NOT LOCALISE!!! to be removed soon

} else if (empty($CFG->unittestprefix)) {
echo $OUTPUT->heading(get_string('testdboperations', 'simpletest'));
// TODO: localise
echo '<p>Please add $CFG->unittestprefix="tst_"; or some other unique test table prefix if you want to execute all tests';

} else {
echo $OUTPUT->heading(get_string('testdboperations', 'simpletest'));
echo '<p>'.get_string('unittestprefixsetting', 'simpletest', $CFG).'</p>';

echo '<form style="display:inline" method="get" action="index.php">';
echo '<fieldset class="invisiblefieldset">';
echo '<input type="hidden" name="setuptesttables" value="1" />';
echo '<input type="submit" value="' . get_string('reinstalltesttables', 'simpletest') . '" />';
echo '</fieldset>';
echo '</form>';
}
echo $OUTPUT->box_end();

// Print link to latest code coverage for this report type
if (is_null($path) || !$codecoverage) {
moodle_coverage_reporter::print_link_to_latest('unittest');
Expand Down

0 comments on commit 6f5a517

Please sign in to comment.