Permalink
Browse files

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

…tests are passing.
  • Loading branch information...
1 parent 05af213 commit cb0ae6ed762e5662e0fa566e8edfd565ab2fcdaf @predominant predominant committed Apr 9, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 cake/tests/cases/libs/view/helpers/time.test.php
View
1 cake/tests/cases/libs/view/helpers/time.test.php
@@ -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';

0 comments on commit cb0ae6e

Please sign in to comment.