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

Add support for $CFG->alternative_file_system_class to be used during unit tests.

    XMLWordPrintable

Details

    Description

      Now that MDL-46375 has been integrated (Thanks dobedobedoh), I believe there should be support for running all unit tests against a configured $CFG->alternative_file_system_class.

      There are two ways i can see this happening:

      1. $CFG->alternative_file_system_class is added to the allowed $CFG variables list in /lib/phpunit/bootstrap.php

      2. If its a unit test, setup_file_system will look for a $CFG->phpunit_alternative_file_system_class

      My preference is for option 1.

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              kennethhendricks Kenneth Hendricks
              Ankit Agarwal Ankit Agarwal
              Andrew Lyons Andrew Lyons
              Jake Dallimore Jake Dallimore
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/May/17