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

Review setUp() methods in unit test to make sure context is not build with $mod->id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6.1
    • Events API, Unit tests

      While working on MDL-43736, it was discovered by Eloy that in mod_choice setUp() method was building the context with choice->id when it should be choice->cmid.

      That was fixed in MDL-43736. This is follow-up issue to check all setUp() in phpunit to ensure context is build correctly.

            Unassigned Unassigned
            rajeshtaneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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