mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-32569 remove unittestprefix from config-dist.php, do not link other pages from old UI
This commit is contained in:
parent
37ba2528c1
commit
d88b0f9c29
@ -141,26 +141,6 @@ echo '</fieldset>';
|
||||
echo '</form>';
|
||||
echo $OUTPUT->box_end();
|
||||
|
||||
$otherpages = array();
|
||||
$otherpages['PDF lib test'] = new moodle_url('/admin/tool/unittest/other/pdflibtestpage.php');
|
||||
if (debugging('', DEBUG_DEVELOPER)) {
|
||||
$otherpages['TODO checker'] = new moodle_url('/admin/tool/unittest/other/todochecker.php');
|
||||
}
|
||||
|
||||
// print list of extra test pages that are not simpletests,
|
||||
// not everything there is good enough to show to our users
|
||||
if ($otherpages) {
|
||||
echo $OUTPUT->box_start('generalbox boxwidthwide boxaligncenter');
|
||||
echo $OUTPUT->heading(get_string('othertestpages', 'tool_unittest'));
|
||||
echo '<ul>';
|
||||
foreach ($otherpages as $name=>$url) {
|
||||
echo '<li>'.html_writer::link($url, $name).'</li>';
|
||||
}
|
||||
echo '</ul>';
|
||||
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');
|
||||
|
@ -443,10 +443,6 @@ $CFG->admin = 'admin';
|
||||
// Divert all outgoing emails to this address to test and debug emailing features
|
||||
// $CFG->divertallemailsto = 'root@localhost.local'; // NOT FOR PRODUCTION SERVERS!
|
||||
//
|
||||
// Specify prefix for fake unit test tables. If not specified only tests
|
||||
// that do not need fake tables will be executed.
|
||||
// $CFG->unittestprefix = 'tst_'; // NOT FOR PRODUCTION SERVERS!
|
||||
//
|
||||
// special magic evil developer only wanting to edit the xmldb files manually
|
||||
// AND don't use the XMLDBEditor nor the prev/next stuff at all (Mahara and others)
|
||||
// Uncomment these if you're lazy like Penny
|
||||
|
Loading…
x
Reference in New Issue
Block a user