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

Quiz lib_test missing library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.8.4
    • 2.8.3
    • 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

      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.

            emerrill Eric Merrill
            emerrill Eric Merrill
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Zachary Durber Zachary Durber
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.