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

Backup causes unit tests to fail with a php error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Unit tests
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      If you go to the unit test page and run all the tests you get the attached error. Doesn't matter whether or not code coverage analysis is on.

      Fatal error: Call to undefined method mock_base_setting::get_level() in /home/andrew/Desktop/repos/moodle/backup/util/ui/backup_ui_setting.class.php on line 102

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              andyjdavis Andrew Davis
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10