From d88b0f9c299a3149c5fb9f180d87c3c5ca4e0bc7 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 21 Apr 2012 17:48:20 +0200 Subject: [PATCH] MDL-32569 remove unittestprefix from config-dist.php, do not link other pages from old UI --- admin/tool/unittest/index.php | 20 -------------------- config-dist.php | 4 ---- 2 files changed, 24 deletions(-) diff --git a/admin/tool/unittest/index.php b/admin/tool/unittest/index.php index 93057b55d54..db0bbc73580 100644 --- a/admin/tool/unittest/index.php +++ b/admin/tool/unittest/index.php @@ -141,26 +141,6 @@ echo ''; echo ''; 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 ''; - 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'); diff --git a/config-dist.php b/config-dist.php index 0aec77a0dd4..495319c8203 100644 --- a/config-dist.php +++ b/config-dist.php @@ -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