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

Singletons in lib.pluginlib.php are not reset in unit tests

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.4
    • Unit tests

    Description

      The problem is that if something uses the singleton the tests for plugin_manager fail later because it can not be overridden by the test class.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12