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 713249b commit b02bdf7Copy full SHA for b02bdf7
tests/system/HTTP/CURLRequestTest.php
@@ -1196,6 +1196,17 @@ public function testForceResolveIPv6(): void
1196
$this->assertSame(CURL_IPRESOLVE_V6, $options[CURLOPT_IPRESOLVE]);
1197
}
1198
1199
+ public function testForceResolveIPUnknown(): void
1200
+ {
1201
+ $this->request->request('POST', '/post', [
1202
+ 'force_ip_resolve' => 'v?',
1203
+ ]);
1204
+
1205
+ $options = $this->request->curl_options;
1206
1207
+ $this->assertArrayNotHasKey(CURLOPT_IPRESOLVE, $options);
1208
+ }
1209
1210
public function testCookieOption(): void
1211
{
1212
$holder = SUPPORTPATH . 'HTTP/Files/CookiesHolder.txt';
0 commit comments