We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2cc6e commit 89b51b1Copy full SHA for 89b51b1
tests/system/HTTP/CURLRequestTest.php
@@ -1211,6 +1211,17 @@ public function testForceResolveIPv6(): void
1211
$this->assertSame(CURL_IPRESOLVE_V6, $options[CURLOPT_IPRESOLVE]);
1212
}
1213
1214
+ public function testForceResolveIPUnknown(): void
1215
+ {
1216
+ $this->request->request('POST', '/post', [
1217
+ 'force_ip_resolve' => 'v?',
1218
+ ]);
1219
+
1220
+ $options = $this->request->curl_options;
1221
1222
+ $this->assertArrayNotHasKey(CURLOPT_IPRESOLVE, $options);
1223
+ }
1224
1225
public function testCookieOption(): void
1226
{
1227
$holder = SUPPORTPATH . 'HTTP/Files/CookiesHolder.txt';
0 commit comments