mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:07 +02:00
Issue #46 - Added tests for every class, except outputs. Small bugs/invalid parameter detection fixed together.
This commit is contained in:
1 parent
619a5a663f
commit
8791727ba4
28 files changed
+1090
-239
No files matched your search
+4
-3
@@ -24,16 +24,17 @@
|
||||
*/
|
||||
|
||||
use auth_outage\dml\outagedb;
|
||||
use auth_outage\local\outagelib;
|
||||
use auth_outage\output\renderer;
|
||||
|
||||
require_once(__DIR__.'/../../config.php');
|
||||
require_once($CFG->libdir.'/adminlib.php');
|
||||
|
||||
$renderer = outagelib::page_setup();
|
||||
admin_externalpage_setup('auth_outage_manage');
|
||||
$PAGE->set_url(new moodle_url('/auth/outage/manage.php'));
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
$renderer->output_view('manage.php', [
|
||||
renderer::get()->output_view('manage.php', [
|
||||
'unended' => outagedb::get_all_unended(),
|
||||
'ended' => outagedb::get_all_ended(),
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user