diff --git a/test/Faker/Provider/ImageTest.php b/test/Faker/Provider/ImageTest.php index ff5e7f1c8a..1aa495e17c 100644 --- a/test/Faker/Provider/ImageTest.php +++ b/test/Faker/Provider/ImageTest.php @@ -185,7 +185,7 @@ private static function checkUrlConnection(string $url): void $httpCode = curl_getinfo($curlPing, CURLINFO_HTTP_CODE); curl_close($curlPing); - if ($httpCode < 200 | $httpCode > 300) { + if ($httpCode < 200 || $httpCode > 300) { self::markTestSkipped(sprintf('"%s" is offline, skipping test', $url)); } }