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

Availability: Unit test fails if additional plugins installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.7
    • Fix Version/s: 2.8.8, 2.9.2
    • Component/s: Unit tests
    • Labels:

      Description

      The unit test availability/tests/component_test.php (which I wrote...) fails if additional availability restriction plugins are installed.

      This does not affect core because the list is correct for the availability plugins included in core. However, it means this core unit test fails if run on a system that has extra third-party plugins installed.

      I think the test should be changed to still check that the core plugins are present, but without checking that nothing else is.

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            quen Sam Marshall
            Peer reviewer:
            Jason Platts
            Integrator:
            David Monllaó
            Tester:
            CiBoT
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Sep/15