Skip to content

Commit

Permalink
add explicit property definitions as required by php8.2 to test score…
Browse files Browse the repository at this point in the history
…_primitive_learning_element_test.php
  • Loading branch information
Glutamat42 committed Jan 12, 2024
1 parent 2f587b8 commit 30d8bbd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/external/score_primitive_learning_element_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 30d8bbd

Please sign in to comment.