File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -555,12 +555,12 @@ private function executeForTestRunner()
555
555
assertNull ($ args ['session ' ]->getServer ());
556
556
break ;
557
557
case 'failPoint ' :
558
- assertInternalType ( ' array ' , $ args ['failPoint ' ]);
558
+ assertInstanceOf (stdClass::class , $ args ['failPoint ' ]);
559
559
$ args ['client ' ]->selectDatabase ('admin ' )->command ($ args ['failPoint ' ]);
560
560
break ;
561
561
case 'targetedFailPoint ' :
562
562
assertInstanceOf (Session::class, $ args ['session ' ]);
563
- assertInternalType ( ' array ' , $ args ['failPoint ' ]);
563
+ assertInstanceOf (stdClass::class , $ args ['failPoint ' ]);
564
564
assertNotNull ($ args ['session ' ]->getServer (), 'Session is pinned ' );
565
565
$ operation = new DatabaseCommand ('admin ' , $ args ['failPoint ' ]);
566
566
$ operation ->execute ($ args ['session ' ]->getServer ());
You can’t perform that action at this time.
0 commit comments