Skip to content
  • jun's avatar
    MDL-70959 completion: Fix completion_info::get_data() unit tests · 35f368a1
    jun authored
    * Fixed inverted $sameuser test data.
    * Fixed caching expectation check. Caching only relies on whether the
    user accessing the completion data is the same user or not.
    * Fixed checking for the caching of other modules. Should have been
    checking cm ID and not instance ID.
    * Additional test case when whole course parameter is passed as
    true, but the requesting user is different from the target user.
    35f368a1