moodle/favourites/tests
Meirza 4937a1fd1c MDL-77350 favourites: Added class properties that are not declared
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

// Removed test_add_malformed_favourite()
PHPUnit version >= 9.5 no longer converts PHP deprecations to exceptions by default.
To comply with PHP 8.2, which will deprecate the dynamic properties,
we need to remove test_add_malformed_favourite()
because the test will raise a warning for dynamic property deprecations.
2023-05-16 01:03:01 +07:00
..
privacy MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:02 +01:00
component_favourite_service_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
repository_test.php MDL-77350 favourites: Added class properties that are not declared 2023-05-16 01:03:01 +07:00
user_favourite_service_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00