Skip to content

Commit e75c079

Browse files
committed
Fixed unit test issues
1 parent 9c3f2ad commit e75c079

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/output/main_test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ final class main_test extends advanced_testcase {
3838
* @return void
3939
*/
4040
public function setUp(): void {
41+
parent::setUp();
4142
$this->resetAfterTest();
4243
$this->setAdminUser();
4344
$this->main = new main();

tests/site_stats_test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ final class site_stats_test extends advanced_testcase {
3636
public static function setUpBeforeClass(): void {
3737
require_once(__DIR__ . '/../../moodleblock.class.php');
3838
require_once(__DIR__ . '/../block_site_stats.php');
39+
parent::setUpBeforeClass();
3940
}
4041

4142
/**

0 commit comments

Comments
 (0)