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

LTI enrolment unit test has unreached code

XMLWordPrintable

    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-56102-master
    • Hide
      1. Run PHPUnit

         vendor/bin/phpunit --testsuite enrol_lti_testsuite
        

        or if using MDK,

        mdk phpunit -r -s enrol_lti
        

        • Confirm that there are no errors nor failures.
      Show
      Run PHPUnit vendor/bin/phpunit --testsuite enrol_lti_testsuite or if using MDK, mdk phpunit -r -s enrol_lti Confirm that there are no errors nor failures.

      In my unit test I accidentally left a couple lines after the expected exception is thrown

      Not a huge priority because once the exception is thrown the execution leaves, but it does give off annoying errors in IDEs, and is bad example code

            johno John Okely
            johno John Okely
            Jake Dallimore Jake Dallimore
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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