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

Add basic unit tests for lib/filelib.php file_pluginfile()

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.4.1, 3.4.1
    • Files API
    • MOODLE_24_STABLE, MOODLE_34_STABLE

      There was a straight up coding error in file_pluginfile(). See MDL-37797. It would be great to add some basic unit tests for the function as there do not seem to be any currently.

      Initially at least they don't need to be exhaustive. Just enough to check that the various queries run without error.

            Unassigned Unassigned
            andyjdavis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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