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

              tlock Tim Lock
              tlock Tim Lock
              Damyon Wiese Damyon Wiese
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Jul/17