We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1488881 commit b048b4aCopy full SHA for b048b4a
test/Faker/Provider/ImageTest.php
@@ -185,7 +185,7 @@ private static function checkUrlConnection(string $url): void
185
$httpCode = curl_getinfo($curlPing, CURLINFO_HTTP_CODE);
186
curl_close($curlPing);
187
188
- if ($httpCode < 200 | $httpCode > 300) {
+ if ($httpCode < 200 || $httpCode > 300) {
189
self::markTestSkipped(sprintf('"%s" is offline, skipping test', $url));
190
}
191
0 commit comments