1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 18:30:15 +02:00

Build tweaks

This commit is contained in:
Jordi Boggiano
2020-12-09 16:54:31 +01:00
parent fd305da67b
commit ec146b38bd
7 changed files with 24 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ class MongoDBHandlerTest extends TestCase
$record = $this->getRecord();
$expected = $record;
$expected['datetime'] = $record['datetime']->format(NormalizerFormatter::SIMPLE_DATE);
$expected['datetime'] = new \MongoDB\BSON\UTCDateTime((int) floor(((float) $record['datetime']->format('U.u')) * 1000));
$collection->expects($this->once())
->method('insertOne')