Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix test

  • Loading branch information...
commit 22d66258723a06a6bc9f67629f381255d07869eb 1 parent 72508cb
@dereuromark dereuromark 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
@@ -203,7 +203,7 @@ public function testTimeAgoInWordsCustomStrings() {
strtotime('+4 months +2 weeks +3 days'),
array('absoluteString' => 'exactly on %s', 'accuracy' => array('year' => 'year'), 'end' => '+2 months')
);
- $expected = 'exactly on 3/12/13';
+ $expected = 'exactly on ' . date('j/n/y', strtotime('+4 months +2 weeks +3 days'));
$this->assertEquals($expected, $result);
}
Please sign in to comment.
Something went wrong with that request. Please try again.