mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
cfaf86b059
This patch adds several things: - favourite entity class under local/entity - refactoring of repository and service to use the new class instead of stdClass. - update repository unit tests to use the object instead of stdClass. - update service_test so that the mock repo requires the object for the add operation. - remove unnecessary constructor from favourites_repository class.