Skip to content

Commit

Permalink
remove ill-advised test
Browse files Browse the repository at this point in the history
As with dates, PHP also parses nonsensical time values.
12.90am becomes 1.30am.
  • Loading branch information
ypnos committed Mar 15, 2016
1 parent 349d69d commit 6d17611
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/TestCase/Validation/ValidationTest.php
Expand Up @@ -1571,7 +1571,6 @@ public function testLocalizedTime()

$this->assertFalse(Validation::localizedTime('31. Dezember 2006', 'date')); // non-US format
$this->assertFalse(Validation::localizedTime('18:40', 'time')); // non-US format
$this->assertFalse(Validation::localizedTime('12.90am', 'time')); // not a valid time

/* German */
I18N::locale('de_DE');
Expand Down

0 comments on commit 6d17611

Please sign in to comment.