Make tests compatible with new version of PHPUnit

This commit is contained in:
Mark Nelson 2020-11-27 16:01:04 +08:00
parent a38678c691
commit b70224c0e4
3 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ class mod_customcert_element_helper_testcase extends advanced_testcase {
/**
* Test set up.
*/
public function setUp() {
public function setUp(): void {
$this->resetAfterTest();
}

View file

@ -38,7 +38,7 @@ class mod_customcert_task_email_certificate_task_testcase extends advanced_testc
/**
* Test set up.
*/
public function setUp() {
public function setUp(): void {
$this->resetAfterTest();
}

View file

@ -40,7 +40,7 @@ class mod_customcert_external_test_testcase extends advanced_testcase {
/**
* Test set up.
*/
public function setUp() {
public function setUp(): void {
$this->resetAfterTest();
}