Fix declaration issue in unit tests
This commit is contained in:
parent
b2693a7b6f
commit
e8acf6b503
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ class auth_plugin_userkey_testcase extends advanced_testcase {
|
|||
/**
|
||||
* Initial set up.
|
||||
*/
|
||||
public function setUp() {
|
||||
public function setUp(): void {
|
||||
global $CFG;
|
||||
|
||||
require_once($CFG->libdir . "/externallib.php");
|
||||
|
|
|
@ -49,7 +49,7 @@ class core_userkey_manager_testcase extends advanced_testcase {
|
|||
/**
|
||||
* Initial set up.
|
||||
*/
|
||||
public function setUp() {
|
||||
public function setUp(): void {
|
||||
global $CFG;
|
||||
|
||||
parent::setUp();
|
||||
|
|
|
@ -33,7 +33,7 @@ class auth_userkey_externallib_testcase extends advanced_testcase {
|
|||
/**
|
||||
* Initial set up.
|
||||
*/
|
||||
public function setUp() {
|
||||
public function setUp(): void {
|
||||
global $CFG;
|
||||
|
||||
require_once($CFG->libdir . "/externallib.php");
|
||||
|
|
Loading…
Reference in a new issue