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

Quiz lib_test missing library

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.8.3
    • Fix Version/s: 2.8.4
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-49285-master

      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

              Assignee:
              emerrill Eric Merrill
              Reporter:
              emerrill Eric Merrill
              Peer reviewer:
              Simey Lameze
              Integrator:
              Andrew Nicols
              Tester:
              Zachary Durber
              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:
                9/Mar/15