Skip to content
Permalink
Browse files

adding another exception for the assertTimeFormat method

  • Loading branch information...
lorenzo committed Jun 5, 2016
1 parent a76268a commit 235738aeb9ff61fd85be508f3c2390716cd44b9f
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/TestCase/I18n/TimeTest.php
@@ -1025,10 +1025,12 @@ public function assertTimeFormat($expected, $result, $message = "")
{
$expected = str_replace([',', '(', ')', ' at', ' م.', ' ه‍.ش.', ' AP', ' AH', ' SAKA', 'à '], '', $expected);
$expected = str_replace([' '], ' ', $expected);
$expected = str_replace("d’été", 'avancée', $expected);
$result = str_replace([',', '(', ')', ' at', ' م.', ' ه‍.ش.', ' AP', ' AH', ' SAKA', 'à '], '', $result);
$result = str_replace(['گرینویچ'], 'GMT', $result);
$result = str_replace([' '], ' ', $result);
$expected = str_replace("d’été", 'avancée', $result);
return $this->assertSame($expected, $result, $message);
}

0 comments on commit 235738a

Please sign in to comment.
You can’t perform that action at this time.