From 7366a16cd7a1f866bfe73b87528cf175772fd010 Mon Sep 17 00:00:00 2001 From: oleibman <10341515+oleibman@users.noreply.github.com> Date: Mon, 23 Sep 2024 22:01:40 -0700 Subject: [PATCH] Disable 2 Tests Test for url image used file_get_contents on file which we have read successfully for years. Today it started returning error 403. Disable tests while I study whether there is a suitable replacement. --- tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php b/tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php index 7d22911670..4f7fa1e583 100644 --- a/tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php @@ -12,7 +12,8 @@ class URLImageTest extends TestCase { - public function testURLImageSource(): void + // https://github.com/readthedocs/readthedocs.org/issues/11615 + public function xtestURLImageSource(): void { if (getenv('SKIP_URL_IMAGE_TEST') === '1') { self::markTestSkipped('Skipped due to setting of environment variable'); @@ -43,7 +44,7 @@ public function testURLImageSource(): void } } - public function testURLImageSourceNotFound(): void + public function xtestURLImageSourceNotFound(): void { if (getenv('SKIP_URL_IMAGE_TEST') === '1') { self::markTestSkipped('Skipped due to setting of environment variable');