Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58161

user: tests: user_can_view_profile fails under certain cases

    XMLWordPrintable

    Details

      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

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Jul/17