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

Remove timezone test fixtures which depend on setting date_default_timezone_set('Australia/Perth');

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. Update timezones (site admin -> location -> Update timezones)
      2. Navigate to unit test (Reports -> unit test)
      3. enter "lib/simpletest/testmoodlelib.php" in textbox.
      4. click "Run test"
      5. Make sure all test pass

      Show
      1. Update timezones (site admin -> location -> Update timezones) 2. Navigate to unit test (Reports -> unit test) 3. enter "lib/simpletest/testmoodlelib.php" in textbox. 4. click "Run test" 5. Make sure all test pass
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      In MDL-27863, we can't use date_default_timezone_set('Australia/Perth'); for 1.9 as this api was introduced in 5.1.0
      So please remove all text fixtures which require default timezone to be Australia/Perth

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              Rossiani Wijaya
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), 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:
                Resolved:
                Fix Release Date:
                10/Oct/11