1) MongoDB\Laravel\Tests\Query\BuilderTest::testMql with data set "whereBetween CarbonPeriod" ([[[[MongoDB\BSON\UTCDateTime Object (...), MongoDB\BSON\UTCDateTime Object (...)]], []]], Closure Object (...))
array (
'find' =>
array (
0 =>
array (
'created_at' =>
array (
'$gte' =>
\MongoDB\BSON\UTCDateTime::__set_state(array(
'milliseconds' => '1708437386881',
)),
'$lte' =>
\MongoDB\BSON\UTCDateTime::__set_state(array(
'milliseconds' => '1710942986881',
)),
),
),
1 =>
array (
'typeMap' =>
array (
'root' => 'array',
'document' => 'array',
),
),
),
)
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
0 => Array (
'created_at' => Array (
'$gte' => MongoDB\BSON\UTCDateTime Object (
- 'milliseconds' => '946684800000'
+ 'milliseconds' => '1708437386881'
)
'$lte' => MongoDB\BSON\UTCDateTime Object (
- 'milliseconds' => '1708437386882'
+ 'milliseconds' => '1710942986881'
)
)
)/Users/jerome/Develop/laravel-mongodb/tests/Query/BuilderTest.php:49