File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -651,11 +651,6 @@ private function executeForTestRunner()
651
651
{
652
652
$ args = $ this ->prepareArguments ();
653
653
654
- if (array_key_exists ('client ' , $ args )) {
655
- assertIsString ($ args ['client ' ]);
656
- $ args ['client ' ] = $ this ->entityMap ->getClient ($ args ['client ' ]);
657
- }
658
-
659
654
switch ($ this ->name ) {
660
655
case 'assertCollectionExists ' :
661
656
assertArrayHasKey ('databaseName ' , $ args );
@@ -786,6 +781,11 @@ private function prepareArguments() : array
786
781
{
787
782
$ args = $ this ->arguments ;
788
783
784
+ if (array_key_exists ('client ' , $ args )) {
785
+ assertIsString ($ args ['client ' ]);
786
+ $ args ['client ' ] = $ this ->entityMap ->getClient ($ args ['client ' ]);
787
+ }
788
+
789
789
if (array_key_exists ('session ' , $ args )) {
790
790
assertIsString ($ args ['session ' ]);
791
791
$ args ['session ' ] = $ this ->entityMap ->getSession ($ args ['session ' ]);
You can’t perform that action at this time.
0 commit comments