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

Unit tests give spurious exceptions when $CFG->debugdisplay is false.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Unit tests
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      The problem is that when $CFG->debugdisplay is false, debugging calls trigger_error. The unit test framework reports all calls to trigger_error as exceptions.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10