Skip to content

Commit

Permalink
Merge pull request #9194 from csthomas/teststupidfail
Browse files Browse the repository at this point in the history
Tests JLogEntry and the difference of one second
  • Loading branch information
wilsonge committed Feb 24, 2016
2 parents 8691720 + d26a472 commit 5ed9f2d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/unit/suites/libraries/joomla/log/JLogEntryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ public function testDefaultValues()
);

// Date.
$this->assertThat(
$tmp->date->toISO8601(),
$this->equalTo($date->toISO8601()),
'Line: ' . __LINE__ . '.'
$this->assertEquals(
$tmp->date->getTimestamp(),
$date->getTimestamp(),
'Line: ' . __LINE__ . '.',
1
);
}

Expand Down

0 comments on commit 5ed9f2d

Please sign in to comment.