Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed test failing when server's timezone is not UTC

  • Loading branch information...
commit b2ccdd46e5c970dc5847a52eb3e3ab35cccee0cb 1 parent ecdf0e6
@ADmad ADmad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Test/Case/Utility/CakeTimeTest.php
View
2  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');
Please sign in to comment.
Something went wrong with that request. Please try again.