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

MDL-47178 unit tests fail if you have CodeRunner installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.6, 3.9.3, 3.10
    • Fix Version/s: 3.9.4, 3.10.1
    • Component/s: Questions
    • Labels:

      Description

      MDL-47178 added some unit tests which make assumtions about the number of questions in the mdl_question table. These fail if you have CodeRunner installed.

      The failing tests are

      core_question_backup_testcase::test_backup_question_author_retained_when_enrolled
      core_question_backup_testcase::test_backup_question_author_retained_when_not_enrolled
      core_question_backup_testcase::test_backup_question_author_reset

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Mahmoud Kassaei
              Integrator:
              Andrew Nicols
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Jan/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 10 minutes
                  2h 10m