From 30d8bbdc792eca0e0ef20e7b46a7ed796bea7a2c Mon Sep 17 00:00:00 2001 From: Markus Heck Date: Fri, 12 Jan 2024 17:11:17 +0100 Subject: [PATCH] add explicit property definitions as required by php8.2 to test score_primitive_learning_element_test.php --- tests/external/score_primitive_learning_element_test.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/external/score_primitive_learning_element_test.php b/tests/external/score_primitive_learning_element_test.php index 993c05f..b946ece 100644 --- a/tests/external/score_primitive_learning_element_test.php +++ b/tests/external/score_primitive_learning_element_test.php @@ -21,6 +21,12 @@ * @preserveGlobalState disabled */ class score_primitive_learning_element_test extends local_adler_externallib_testcase { + // Define the properties explicitly + public $course; + public $course_module; + public $user; + public $mock_adler_score; + public function setUp(): void { parent::setUp();