fix unit test signature to be compatible with Moodle 3.10+

This commit is contained in:
Matt Porritt
2021-03-12 03:31:06 +00:00
parent 2d59580d36
commit 47154e545f

View File

@@ -78,7 +78,7 @@ abstract class auth_outage_base_testcase extends advanced_testcase {
/**
* Tear down to restore the original DB reference.
*/
public function tearDown() {
public function tearDown(): void {
global $DB;
foreach (outagedb::get_all() as $i => $outage) {