Skip to content

Commit

Permalink
Disable 2 Tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oleibman committed Sep 24, 2024
1 parent 4b8a929 commit 7366a16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 7366a16

Please sign in to comment.