File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,9 @@ public function testConfigServerAddressTrailingSlashes(): void {
212
212
}
213
213
214
214
/**
215
- * Tests error behavior when the 'cool.server' setting is empty.
215
+ * Tests the effect of the 'cool.disable_cert_check' setting.
216
+ *
217
+ * @see \GuzzleHttp\RequestOptions::VERIFY
216
218
*/
217
219
public function testConfigDisableCertCheck (): void {
218
220
// Also test with NULL to verify the fallback value.
@@ -226,7 +228,7 @@ public function testConfigDisableCertCheck(): void {
226
228
$ this ->assertCount (3 , $ this ->httpClientGetCalls );
227
229
$ this ->assertFalse ($ this ->httpClientGetCalls [0 ][1 ]['verify ' ]);
228
230
$ this ->assertTrue ($ this ->httpClientGetCalls [1 ][1 ]['verify ' ]);
229
- $ this ->assertTrue ($ this ->httpClientGetCalls [1 ][1 ]['verify ' ]);
231
+ $ this ->assertTrue ($ this ->httpClientGetCalls [2 ][1 ]['verify ' ]);
230
232
}
231
233
232
234
/**
You can’t perform that action at this time.
0 commit comments