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

Eventslib test should use assertDebuggingCalled()

    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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

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