Skip to content

Commit 83075de

Browse files
committed
fix: PHPUnit option resolved_force_ip
1 parent 83d29d9 commit 83075de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/system/HTTP/CURLRequestTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,8 @@ public function testForceResolveIPUnknown(): void
12191219

12201220
$options = $this->request->curl_options;
12211221

1222-
$this->assertArrayNotHasKey(CURLOPT_IPRESOLVE, $options);
1222+
$this->assertArrayHasKey(CURLOPT_IPRESOLVE, $options);
1223+
$this->assertSame(\CURL_IPRESOLVE_WHATEVER, $options[CURLOPT_IPRESOLVE]);
12231224
}
12241225

12251226
public function testCookieOption(): void

0 commit comments

Comments
 (0)