Skip to content

Commit

Permalink
Added timezone setting to allow tests to pass in all timezones.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Apr 9, 2010
1 parent ea635d6 commit ac81ba7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cake/tests/cases/libs/view/helpers/time.test.php
Expand Up @@ -661,7 +661,9 @@ function testConvertSpecifiers() {
'locales' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'locale' . DS)
), 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 ac81ba7

Please sign in to comment.