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

Add support for reseting timezone as part of the reset process between unit tests

    XMLWordPrintable

    Details

    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE

      Description

      This is a followup of MDL-48837, where a fix for backup/util/helper/tests/cronhelper_test.php was added, so timezone was reset as part of its tearDown() process.

      Anyway, this is a detail easy to forget, so this is an issue about to:

      • Add support for TZ as part of the normal reset between tests.
      • Kill all the setUp() and tearDown() occurrences handling TZs (and associated properties).

      Ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: