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

Bug in unit test provider - customfiles/files confusion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.3.6, 3.4.3
    • 3.3.5, 3.4.2, 3.5
    • Privacy

    Description

      The phpunit provider testcase has a bug in its export_file function - it exports them to the customfiles instead.

      Essentially this means that you can't fetch the files out for the purpose of Unit testing.
      I'm writing unit tests which make use of this functionality in MDL-61309 for mod_forum.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Jun Pataleta Jun Pataleta
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18