Skip to content

Commit 7366a16

Browse files
committed
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.
1 parent 4b8a929 commit 7366a16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
class URLImageTest extends TestCase
1414
{
15-
public function testURLImageSource(): void
15+
// https://github.com/readthedocs/readthedocs.org/issues/11615
16+
public function xtestURLImageSource(): void
1617
{
1718
if (getenv('SKIP_URL_IMAGE_TEST') === '1') {
1819
self::markTestSkipped('Skipped due to setting of environment variable');
@@ -43,7 +44,7 @@ public function testURLImageSource(): void
4344
}
4445
}
4546

46-
public function testURLImageSourceNotFound(): void
47+
public function xtestURLImageSourceNotFound(): void
4748
{
4849
if (getenv('SKIP_URL_IMAGE_TEST') === '1') {
4950
self::markTestSkipped('Skipped due to setting of environment variable');

0 commit comments

Comments
 (0)