diff --git a/tests/system/HTTP/CURLRequestTest.php b/tests/system/HTTP/CURLRequestTest.php index cfd9ff91221e..18f94d78a287 100644 --- a/tests/system/HTTP/CURLRequestTest.php +++ b/tests/system/HTTP/CURLRequestTest.php @@ -1219,7 +1219,8 @@ public function testForceResolveIPUnknown(): void $options = $this->request->curl_options; - $this->assertArrayNotHasKey(CURLOPT_IPRESOLVE, $options); + $this->assertArrayHasKey(CURLOPT_IPRESOLVE, $options); + $this->assertSame(\CURL_IPRESOLVE_WHATEVER, $options[CURLOPT_IPRESOLVE]); } public function testCookieOption(): void