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

              aolley Adam Olley
              aolley Adam Olley
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/May/16