mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
fix unit test signature to be compatible with Moodle 3.10+
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user