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.
This commit is contained in:
oleibman
2024-09-23 22:01:40 -07:00
parent 4b8a929fc1
commit 7366a16cd7
@@ -12,7 +12,8 @@ use PHPUnit\Framework\TestCase;
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 @@ class URLImageTest extends TestCase
}
}
public function testURLImageSourceNotFound(): void
public function xtestURLImageSourceNotFound(): void
{
if (getenv('SKIP_URL_IMAGE_TEST') === '1') {
self::markTestSkipped('Skipped due to setting of environment variable');