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

      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.

            rajeshtaneja Rajesh Taneja
            kennethhendricks Kenneth Hendricks
            Ankit Agarwal Ankit Agarwal
            Andrew Lyons Andrew Lyons
            Jake Dallimore Jake Dallimore
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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