Fixed TimeHelper tests. Force setting of timezone to GMT+5 to ensure tests are passing.

This commit is contained in:
predominant 2010-04-09 21:20:01 +10:00
parent 05af213d59
commit cb0ae6ed76

View file

@ -662,6 +662,7 @@ class TimeHelperTest extends CakeTestCase {
), true);
Configure::write('Config.language', 'time_test');
$time = 1263487419; // Thu Jan 14 11:43:39 2010
date_default_timezone_set('Etc/GMT+5');
$result = $this->Time->convertSpecifiers('%a', $time);
$expected = 'jue';