mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
74b63eae76
instance is has been used instead of cmid. This works as all id's are 1 in most cases, but not always. accesslib_clear_all_caches_for_unit_testing was updated to clear the $USER->access cache which would fail test when the wrong user's data was used.