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

cover send_file() as much as possible

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE

      Description

      This is a followup of MDL-58027, where it was detected that send_file() it not being explicitly covered by tests and, it has complexity enough (conditions, branches) to try to cover it as much as possible.

      When it will be a unit test, or any other type of test is not defined at the time of writing this, just the need of coverage to guarantee behavior is reported.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: