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

Restrict unit tests in mod_assign to core plugins

    XMLWordPrintable

    Details

      Description

      The unit test added in MDL-53000 makes assumptions about the plugins installed based on a vanilla install, which causes issues when 3rd party assignsubmission or assignfeedback plugins are installed.

      The same problem is present in tests added by MDL-52924 for M3.1, where it assumes the only submission and feedback plugins returned in an array for a websvc call are core ones.

      This is remedied by ensuring we're testing the known plugins where we know what to expect (that is, core plugins, not 3rd party).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aolley Adam Olley
              Reporter:
              aolley Adam Olley
              Peer reviewer:
              Eloy Lafuente (stronk7)
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/May/16