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

Missing include for 'qtype_missingtype'

    XMLWordPrintable

Details

    • MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MDL-65697-master
    • 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.

    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

              lameze Simey Lameze
              damyon Damyon Wiese
              Damyon Wiese Damyon Wiese
              Jun Pataleta Jun Pataleta
              Janelle Barcega Janelle Barcega
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                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