Merge pull request #1429 from cakephp/2.4-timeagoinwords

fix test case
This commit is contained in:
Mark 2013-07-17 03:54:54 -07:00
commit aa18a53d25

View file

@ -203,7 +203,7 @@ class CakeTimeTest extends CakeTestCase {
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);
}