mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-20 11:51:32 +02:00
Code cleanups
This commit is contained in:
@@ -44,7 +44,7 @@ class MongoDBHandlerTest extends TestCase
|
||||
|
||||
$record = $this->getRecord();
|
||||
$expected = $record->toArray();
|
||||
$expected['datetime'] = new \MongoDB\BSON\UTCDateTime((int) floor(((float) $record['datetime']->format('U.u')) * 1000));
|
||||
$expected['datetime'] = new \MongoDB\BSON\UTCDateTime((int) floor(((float) $record->datetime->format('U.u')) * 1000));
|
||||
|
||||
$collection->expects($this->once())
|
||||
->method('insertOne')
|
||||
|
Reference in New Issue
Block a user