Skip to content

Commit d65c9fc

Browse files
committed
Fix Moodle plugins CI errors
1 parent c1d542d commit d65c9fc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

auth/oidc/tests/privacy_provider_test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ final class privacy_provider_test extends \core_privacy\tests\provider_testcase
4141
* Tests set up.
4242
*/
4343
public function setUp(): void {
44-
global $CFG;
44+
parent::setUp();
4545
$this->resetAfterTest();
4646
$this->setAdminUser();
4747
}

local/o365/tests/privacy_provider_test.php

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ final class privacy_provider_test extends provider_testcase {
4747
* Tests set up.
4848
*/
4949
protected function setUp(): void {
50+
parent::setUp();
5051
$this->resetAfterTest();
5152
$this->setAdminUser();
5253
}

local/onenote/tests/privacy_provider_test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ final class privacy_provider_test extends provider_testcase {
4848
* Tests set up.
4949
*/
5050
public function setUp(): void {
51-
global $CFG;
51+
parent::setUp();
5252
$this->resetAfterTest();
5353
$this->setAdminUser();
5454
}

0 commit comments

Comments
 (0)