Skip to content

Commit

Permalink
Fixed TimeHelper tests. Force setting of timezone to GMT+5 to ensure …
Browse files Browse the repository at this point in the history
…tests are passing.
  • Loading branch information
predominant committed Apr 9, 2010
1 parent 05af213 commit cb0ae6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/tests/cases/libs/view/helpers/time.test.php
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ function testConvertSpecifiers() {
), 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';
Expand Down

0 comments on commit cb0ae6e

Please sign in to comment.