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

contexts table not set up correctly for unit testing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.0
    • Unit tests
    • None
    • MOODLE_20_STABLE

      I only get one context in my test table, the system one. I would expect a front-page course to have been set up, but perhaps I am wrong about that.

      More seriously, the system context has path /1/1 and depth 2. That should be path /1 and depth 1.

      Also, the role assignments table is empty. Is that expected, I would have expected an assignment to admin, but again that might be a wrong expectation.

      Apart from that, the rest of the roles stuff seems to have been set up correctly.

            skodak Petr Skoda
            timhunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.