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

Missing include for 'qtype_missingtype'

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Open your terminal and go to your Moodle root folder.
      2. Initialise PHPUnit: php admin/tool/phpunit/cli/init.php
      3. Run "vendor/bin/phpunit --filter=analyse"
        (If you have MDK, an alternative to the 2 above commands is to simply run "mdk phpunit -r --filter=analyse")
      4. Confirm you don't see the error "Error: Class 'qtype_missingtype' not found"
      5. Confirm that the tests pass.
      Show
      Open your terminal and go to your Moodle root folder. Initialise PHPUnit: php admin/tool/phpunit/cli/init.php Run " vendor/bin/phpunit --filter=analyse " (If you have MDK, an alternative to the 2 above commands is to simply run " mdk phpunit -r --filter=analyse ") Confirm you don't see the error " Error: Class 'qtype_missingtype' not found " Confirm that the tests pass.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-65697-master

      Description

      When running phpunit with filters, it's possible to get this error:

       

      ./vendor/bin/phpunit --filter=analyse

      There was 1 error:

      1) qtype_missing_test::test_can_analyse_responses
      Error: Class 'qtype_missingtype' not found

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Jun Pataleta
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 25 minutes
                  1h 25m