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

Eventslib test should use assertDebuggingCalled()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.6, 2.5.2
    • Fix Version/s: 2.4.7, 2.5.3
    • Component/s: Unit tests
    • Labels:

      Description

      There was a change made to the eventslib test as part of MDL-41900 to prevent the new debugging call making noise during the test. It would be better if this were to use the assertDebuggingCalled() method of advanced_testcase rather than disabling debugging, as this would test the MDL-41900 change.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maherne Michael Aherne
              Reporter:
              maherne Michael Aherne
              Peer reviewer:
              Petr Skoda
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/13