Skip to content

Commit

Permalink
Fix: Operator
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 2, 2023
1 parent af7428b commit 98c7d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Faker/Provider/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit 98c7d27

Please # to comment.