Permalink
Browse files

Re-enable failing test.

  • Loading branch information...
1 parent 15e3204 commit f737f4079262ae06c9ac774c553aa213a60b315a @posulliv committed Aug 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
@@ -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");

0 comments on commit f737f40

Please sign in to comment.