mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixed TimeHelper tests. Force setting of timezone to GMT+5 to ensure tests are passing.
This commit is contained in:
parent
05af213d59
commit
cb0ae6ed76
1 changed files with 1 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue