From 9f9fa01a9127b062446340f880ac450b0a5682ef Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Wed, 16 Oct 2024 12:53:59 +0100 Subject: [PATCH] MDL-83472 phpunit: call parent setUp unit test method. See also 674497a12c from MDL-81523. --- report/progress/tests/report_progress_helper_test.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/report/progress/tests/report_progress_helper_test.php b/report/progress/tests/report_progress_helper_test.php index 790bf6028b8..6052c89d7b5 100644 --- a/report/progress/tests/report_progress_helper_test.php +++ b/report/progress/tests/report_progress_helper_test.php @@ -39,6 +39,8 @@ final class report_progress_helper_test extends advanced_testcase { public function setUp(): void { global $CFG; + parent::setUp(); + $CFG->enablecompletion = true; $this->setAdminUser(); $this->resetAfterTest();