Skip to content

Commit

Permalink
Removed bad test.
Browse files Browse the repository at this point in the history
  • Loading branch information
resurtm committed Sep 8, 2012
1 parent eb3c7d0 commit c771d1f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/framework/utils/CDateTimeParserTest.php
Expand Up @@ -200,9 +200,6 @@ public function testFailing()
$this->assertFalse(CDateTimeParser::parse('dd/MM/yyyy, ???, hh:m:s', '02/08/2010, yyy, 05:9:7'));
$this->assertFalse(CDateTimeParser::parse('yyyy-MM-dd', '2011-12-31', array('hour' => 23, 'minute' => 59, 'second' => 59)));

// inexistent defaults' keys are ignored at all
$this->assertEquals(1325268000, CDateTimeParser::parse('2011-12-31', 'yyyy-MM-dd', array('hours' => 23, 'minutes' => 59, 'seconds' => 59)));

// current locale is not ru_RU.UTF-8
$this->assertFalse(CDateTimeParser::parse('21 СЕНТЯБРЯ, 2011, 13:37', 'dd MMMM, yyyy, HH:mm'));

Expand Down

0 comments on commit c771d1f

Please sign in to comment.