Skip to content

Commit

Permalink
parent setUp tearDown
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebleu committed Jun 9, 2024
1 parent f99d86a commit d013731
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/event/event_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ final class event_test extends \advanced_testcase {
* Setup testcase.
*/
public function setUp(): void {
parent::setUp();
$this->setAdminUser();
$this->resetAfterTest();
}
Expand Down
1 change: 1 addition & 0 deletions tests/reportbuilder/report_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ final class report_test extends core_reportbuilder_testcase {
*/
public function setUp(): void {
global $DB;
parent::setUp();
$this->setAdminUser();
$this->resetAfterTest();
$gen = $this->getDataGenerator();
Expand Down
1 change: 1 addition & 0 deletions tests/reportbuilder/reports_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ final class reports_test extends \advanced_testcase {
*/
public function setUp(): void {
global $DB;
parent::setUp();
$this->setAdminUser();
$this->resetAfterTest();
$gen = $this->getDataGenerator();
Expand Down

0 comments on commit d013731

Please sign in to comment.