Skip to content

Commit

Permalink
Re-enable failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
posulliv committed Aug 15, 2012
1 parent 15e3204 commit f737f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
Expand Up @@ -326,7 +326,7 @@ public function testDateArithmetics()
$row = array_change_key_case($row, CASE_LOWER);

$diff = floor( (strtotime('2010-01-01')-time()) / 3600 / 24);
//$this->assertEquals($diff, (int)$row['diff'], "Date difference should be approx. ".$diff." days.", 1);
$this->assertEquals($diff, (int)$row['diff'], "Date difference should be approx. ".$diff." days.", 1);
$this->assertEquals('2010-01-11', date('Y-m-d', strtotime($row['add_days'])), "Adding date should end up on 2010-01-11");
$this->assertEquals('2009-12-22', date('Y-m-d', strtotime($row['sub_days'])), "Subtracting date should end up on 2009-12-22");
$this->assertEquals('2010-03-01', date('Y-m-d', strtotime($row['add_month'])), "Adding month should end up on 2010-03-01");
Expand Down

0 comments on commit f737f40

Please sign in to comment.