Skip to content

Commit

Permalink
Merge pull request PHPOffice#4273 from oleibman/disable2tests
Browse files Browse the repository at this point in the history
Disable 2 Tests
  • Loading branch information
oleibman authored Dec 11, 2024
2 parents b35de99 + beb0ac8 commit 1e78397
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/PhpSpreadsheetTests/Reader/Html/HtmlImage2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class HtmlImage2Test extends TestCase
{
public function testCanInsertImageGoodProtocol(): void
public function xtestCanInsertImageGoodProtocol(): void
{
if (getenv('SKIP_URL_IMAGE_TEST') === '1') {
self::markTestSkipped('Skipped due to setting of environment variable');
Expand All @@ -31,7 +31,7 @@ public function testCanInsertImageGoodProtocol(): void
self::assertEquals('A1', $drawing->getCoordinates());
}

public function testCantInsertImageNotFound(): void
public function xtestCantInsertImageNotFound(): void
{
if (getenv('SKIP_URL_IMAGE_TEST') === '1') {
self::markTestSkipped('Skipped due to setting of environment variable');
Expand Down
4 changes: 2 additions & 2 deletions tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class URLImageTest extends TestCase
{
public function testURLImageSource(): void
public function xtestURLImageSource(): void
{
if (getenv('SKIP_URL_IMAGE_TEST') === '1') {
self::markTestSkipped('Skipped due to setting of environment variable');
Expand All @@ -37,7 +37,7 @@ public function testURLImageSource(): void
$spreadsheet->disconnectWorksheets();
}

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 1e78397

Please sign in to comment.