Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.5, 3.2.1, 3.3, 3.4
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
mdl58161-master
-
Easy
-
Description
The unit tests updated in MDL-58032 has caused the unit test for 'user_can_view_profile' to fail because of assumptions that would be unique role archetype in the database.
Most cases this is true but if you have default additional roles to be tested again would cause this to fail. The code needs to be adjusted to account for this.
Attachments
Issue Links
- is a regression caused by
-
MDL-58032 user_can_view_profile generates notices when $userid = 0
-
- Closed
-