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

Several unit tests hard code numbers of contexts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.3.4
    • Component/s: Unit tests
    • Labels:
    • Testing Instructions:
      Hide

      1. Run the unit tests. Verify that they all pass.
      2. Install mod_oublog
      3. Run the unit tests. Verify that they all pass.

      Step 3 was failing before.

      Show
      1. Run the unit tests. Verify that they all pass. 2. Install mod_oublog 3. Run the unit tests. Verify that they all pass. Step 3 was failing before.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      At least one of the OU custom plugins creates a context during install, which then breaks these assumptions and tests. I have fixed them.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                timhunt Tim Hunt
                Peer reviewer:
                Petr Skoda
                Integrator:
                Dan Poltawski
                Tester:
                Petr Skoda
                Participants:
                Component watchers:
                Andrew Nicols, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/13