From 47154e545f784f28429ee317261116facc2ce518 Mon Sep 17 00:00:00 2001 From: Matt Porritt Date: Fri, 12 Mar 2021 03:31:06 +0000 Subject: [PATCH] fix unit test signature to be compatible with Moodle 3.10+ --- tests/phpunit/base_testcase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/base_testcase.php b/tests/phpunit/base_testcase.php index 1204420..910148f 100644 --- a/tests/phpunit/base_testcase.php +++ b/tests/phpunit/base_testcase.php @@ -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) {