diff --git a/tests/courseformatlib_test.php b/tests/courseformatlib_test.php index aa99455..a0a85e1 100644 --- a/tests/courseformatlib_test.php +++ b/tests/courseformatlib_test.php @@ -39,6 +39,7 @@ final class courseformatlib_test extends \advanced_testcase { protected $courseformat; protected function setUp(): void { + parent::setUp(); $this->resetAfterTest(true); set_config('theme', 'boost'); diff --git a/tests/courseformattoolbox_test.php b/tests/courseformattoolbox_test.php index 0143135..70050a8 100644 --- a/tests/courseformattoolbox_test.php +++ b/tests/courseformattoolbox_test.php @@ -32,6 +32,7 @@ */ final class courseformattoolbox_test extends \advanced_testcase { protected function setUp(): void { + parent::setUp(); $this->resetAfterTest(true); set_config('theme', 'boost');