File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -362,8 +362,8 @@ use {{invokerPackage}}\Support\Helpers;
362
362
/**
363
363
* Wait for an API key to be added, updated or deleted based on a given `operation`.
364
364
*
365
- * @param string $operation the `operation` that was done on a `key`
366
365
* @param string $key the `key` that has been added, deleted or updated
366
+ * @param string $operation the `operation` that was done on a `key`
367
367
* @param array $apiKey Necessary to know if an `update` operation has been processed, compare fields of the response with it.
368
368
* @param int|null $maxRetries Maximum number of retries
369
369
* @param int|null $timeout Timeout
@@ -374,8 +374,8 @@ use {{invokerPackage}}\Support\Helpers;
374
374
* @return void
375
375
*/
376
376
public function waitForApiKey(
377
- $operation,
378
377
$key,
378
+ $operation,
379
379
$apiKey = null,
380
380
$maxRetries = null,
381
381
$timeout = null,
Original file line number Diff line number Diff line change @@ -102,10 +102,15 @@ class {{clientPrefix}}Test extends TestCase implements HttpClientInterface
102
102
);
103
103
{ {/matchIsJSON} }
104
104
{ {^matchIsJSON} }
105
- $this->assertEquals(
106
- '{ {{match} }}',
107
- $res
108
- );
105
+ { {#matchIsNull} }
106
+ $this->assertNull($res);
107
+ { {/matchIsNull} }
108
+ { {^matchIsNull} }
109
+ $this->assertEquals(
110
+ '{ {{match} }}',
111
+ $res
112
+ );
113
+ { {/matchIsNull} }
109
114
{ {/matchIsJSON} }
110
115
{ {/testResponse} }
111
116
{ {/match} }
You can’t perform that action at this time.
0 commit comments