MDL-30643 statslib test - remove using $CFG->timezone=99 for unit test as it clashes...
authorAparup Banerjee <aparup@moodle.com>
Mon, 12 Nov 2012 16:49:21 +0000 (00:49 +0800)
committerAparup Banerjee <aparup@moodle.com>
Mon, 12 Nov 2012 16:49:21 +0000 (00:49 +0800)
lib/tests/statslib_test.php

index 34b0dff..f86631f 100644 (file)
@@ -85,7 +85,7 @@ class statslib_daily_testcase extends advanced_testcase {
         parent::setUp();
 
         // Settings to force statistic to run during testing
-        $CFG->timezone                = 99;
+        $CFG->timezone                = 8;
         $CFG->statsfirstrun           = 'all';
         $CFG->statslastdaily          = 0;
         $CFG->statslastexecution      = 0;