1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Robin Gustafsson <robin@rgson.se>
Date: Thu, 14 Apr 2022 14:47:18 +0200
Subject: Skip tests requiring internet access
Forwarded: not-needed
---
test/Faker/Provider/ImageTest.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/Faker/Provider/ImageTest.php b/test/Faker/Provider/ImageTest.php
index 8b3897b..0c01719 100644
--- a/test/Faker/Provider/ImageTest.php
+++ b/test/Faker/Provider/ImageTest.php
@@ -176,6 +176,9 @@ final class ImageTest extends TestCase
private static function checkUrlConnection(string $url)
{
+ self::markTestSkipped('Internet access is disallowed.');
+ return;
+
$curlPing = curl_init($url);
curl_setopt($curlPing, CURLOPT_TIMEOUT, 5);
curl_setopt($curlPing, CURLOPT_CONNECTTIMEOUT, 5);
|