diff options
Diffstat (limited to 'tests/Monolog/Handler/MailHandlerTest.php')
-rw-r--r-- | tests/Monolog/Handler/MailHandlerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Monolog/Handler/MailHandlerTest.php b/tests/Monolog/Handler/MailHandlerTest.php index 8e73a78..03ee177 100644 --- a/tests/Monolog/Handler/MailHandlerTest.php +++ b/tests/Monolog/Handler/MailHandlerTest.php @@ -64,7 +64,7 @@ class MailHandlerTest extends TestCase $record = $this->getRecord(); $records = array($record); - $records[0]['formatted'] = '['.$record['datetime']->format('Y-m-d H:i:s').'] test.WARNING: test [] []'."\n"; + $records[0]['formatted'] = '['.$record['datetime'].'] test.WARNING: test [] []'."\n"; $handler->expects($this->once()) ->method('send') |