summaryrefslogtreecommitdiffstats
path: root/tests/Monolog/Handler/MailHandlerTest.php
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2016-05-26 17:39:41 +0100
committerJordi Boggiano <j.boggiano@seld.be>2016-05-26 18:04:51 +0100
commit76a91c672213a17cb0de82f20e7a28c6f014eacf (patch)
treea44608bb9044b38b41c2945bda0d8025749c0911 /tests/Monolog/Handler/MailHandlerTest.php
parent912d813c7345ffe97ddcf1469bd3223fdf27d538 (diff)
downloadmonolog-76a91c672213a17cb0de82f20e7a28c6f014eacf.zip
monolog-76a91c672213a17cb0de82f20e7a28c6f014eacf.tar.gz
monolog-76a91c672213a17cb0de82f20e7a28c6f014eacf.tar.bz2
Set default date format to have a timezone, fixes #196
Diffstat (limited to 'tests/Monolog/Handler/MailHandlerTest.php')
-rw-r--r--tests/Monolog/Handler/MailHandlerTest.php2
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')