Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-3650

local_linkchecker has no unit tests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Low Low
    • archive.moodle.net
    • None

      It really needs some sort of automated testing. multicheck.php alone contains multiple regexs and a significant volume of code that examines html in string form looking for a redirect or signs that the site is a Moodle install. All of this is eminently testable.

      The functions will need to be moved to a lib file (or similar).

      If we can also get rid of the 11 global variables that are being used that would be no bad thing.

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            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.