Skip to content

Commit

Permalink
Fixed timezone in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kaczocha committed Oct 1, 2014
1 parent 135ccd6 commit 7fad381
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/lib/formatters/ErrorLogFormatterTest.php
Expand Up @@ -86,6 +86,7 @@ public function testFormatValidSettings( )
{
$record = new ErrorLogRecord( Log::LEVEL_ERROR, 'This is the error message' );
$date = new \DateTime( );
$date->setTimezone( new \DateTimeZone( 'EST' ) );
$date->setDate( 2014, 10, 01 );
$date->setTime( 23, 14, 55 );

Expand Down

0 comments on commit 7fad381

Please sign in to comment.