diff --git a/tests/MongoTest.php b/tests/MongoTest.php index 568b969828..7b749d1d9a 100644 --- a/tests/MongoTest.php +++ b/tests/MongoTest.php @@ -102,7 +102,8 @@ class MongoTest extends TestCase self::assertIsFloat($doc->float); self::assertIsInt($doc->integer); self::assertIsArray($doc->array); - self::assertIsObject($doc->date_object); // Todo: This is not working can'tretrive the object value + self::assertIsString($doc->date_string); + self::assertIsObject($doc->date_object); // Todo: This is not working can't retrieve the object back }