Skip to content

Commit

Permalink
Fix Moodle plugins CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
patmr7 committed Nov 25, 2024
1 parent c1d542d commit d65c9fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth/oidc/tests/privacy_provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ final class privacy_provider_test extends \core_privacy\tests\provider_testcase
* Tests set up.
*/
public function setUp(): void {
global $CFG;
parent::setUp();
$this->resetAfterTest();
$this->setAdminUser();
}
Expand Down
1 change: 1 addition & 0 deletions local/o365/tests/privacy_provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ final class privacy_provider_test extends provider_testcase {
* Tests set up.
*/
protected function setUp(): void {
parent::setUp();
$this->resetAfterTest();
$this->setAdminUser();
}
Expand Down
2 changes: 1 addition & 1 deletion local/onenote/tests/privacy_provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ final class privacy_provider_test extends provider_testcase {
* Tests set up.
*/
public function setUp(): void {
global $CFG;
parent::setUp();
$this->resetAfterTest();
$this->setAdminUser();
}
Expand Down

0 comments on commit d65c9fc

Please sign in to comment.