@@ -67,7 +67,7 @@ public function testSelectCollectionInheritsOptions()
67
67
$ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
68
68
$ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
69
69
$ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
70
- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
70
+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
71
71
$ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
72
72
$ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
73
73
$ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
@@ -90,7 +90,7 @@ public function testSelectCollectionPassesOptions()
90
90
$ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
91
91
$ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
92
92
$ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
93
- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
93
+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
94
94
$ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
95
95
$ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
96
96
$ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
@@ -129,7 +129,7 @@ public function testSelectDatabaseInheritsOptions()
129
129
$ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
130
130
$ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
131
131
$ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
132
- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
132
+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
133
133
$ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
134
134
$ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
135
135
$ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
@@ -152,7 +152,7 @@ public function testSelectDatabasePassesOptions()
152
152
$ this ->assertSame (ReadConcern::LOCAL , $ debug ['readConcern ' ]->getLevel ());
153
153
$ this ->assertInstanceOf (\MongoDB \Driver \ReadPreference::class, $ debug ['readPreference ' ]);
154
154
$ this ->assertSame (ReadPreference::RP_SECONDARY_PREFERRED , $ debug ['readPreference ' ]->getMode ());
155
- $ this ->assertInternalType ( ' array ' , $ debug ['typeMap ' ]);
155
+ $ this ->assertIsArray ( $ debug ['typeMap ' ]);
156
156
$ this ->assertSame (['root ' => 'array ' ], $ debug ['typeMap ' ]);
157
157
$ this ->assertInstanceOf (\MongoDB \Driver \WriteConcern::class, $ debug ['writeConcern ' ]);
158
158
$ this ->assertSame (WriteConcern::MAJORITY , $ debug ['writeConcern ' ]->getW ());
0 commit comments