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

    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • 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

    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

              rajeshtaneja Rajesh Taneja
              rajeshtaneja Rajesh Taneja
              Rossiani Wijaya Rossiani Wijaya
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Oct/11