Permalink
Browse files

Fixed test failing when server's timezone is not UTC

  • Loading branch information...
1 parent ecdf0e6 commit b2ccdd46e5c970dc5847a52eb3e3ab35cccee0cb @ADmad ADmad committed Jun 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Utility/CakeTimeTest.php
@@ -538,7 +538,7 @@ public function testFormat() {
$result = $this->Time->format('Y-m-d', null, 'never');
$this->assertEquals('never', $result);
- $result = $this->Time->format('2012-01-13', '%d-%m-%Y', 'invalid', 'UTC');
+ $result = $this->Time->format('2012-01-13', '%d-%m-%Y', 'invalid');
$this->assertEquals('13-01-2012', $result);
$result = $this->Time->format('nonsense', '%d-%m-%Y', 'invalid', 'UTC');

0 comments on commit b2ccdd4

Please sign in to comment.