mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
fix test
This commit is contained in:
parent
72508cb260
commit
22d6625872
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue