summaryrefslogtreecommitdiffstats
path: root/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php')
-rw-r--r--tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php b/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php
index 5d69a7c..3383381 100644
--- a/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php
+++ b/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php
@@ -38,7 +38,7 @@ class DoctrineCouchDBHandlerTest extends TestCase
'level' => Logger::WARNING,
'level_name' => 'WARNING',
'channel' => 'test',
- 'datetime' => $record['datetime']->format('Y-m-d H:i:s'),
+ 'datetime' => (string) $record['datetime'],
'extra' => array(),
);