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

Quiz lib_test missing library

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.8.3
    • 2.8.4
    • Quiz
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • MDL-49285-master
    • Hide

      Note: You cannot refer to the nightly CI server for this test - the problem does not effect the CI server. Must be run manually

      1. Run vendor/bin/phpunit mod/quiz/tests/lib_test.php
      2. Run vendor/bin/phpunit --testsuite "mod_quiz_testsuite"
      3. Ensure no errors occur
      Show
      Note: You cannot refer to the nightly CI server for this test - the problem does not effect the CI server. Must be run manually Run vendor/bin/phpunit mod/quiz/tests/lib_test.php Run vendor/bin/phpunit --testsuite "mod_quiz_testsuite" Ensure no errors occur

    Description

      mod/quiz/tests/lib_test.php is missing the importing of the required library, meaning that if you run only that file of unit tests, it fails. During full runs, it is included by other things.

      Attachments

        Issue Links

          Activity

            People

              emerrill Eric Merrill
              emerrill Eric Merrill
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              Zachary Durber Zachary Durber
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15