Skip to content

Commit

Permalink
Add Disconnects
Browse files Browse the repository at this point in the history
  • Loading branch information
oleibman committed Sep 25, 2024
1 parent f7fcb4b commit 512c21e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function testURLImageSource(): void
self::assertSame(84, $drawing->getWidth());
self::assertSame(44, $drawing->getHeight());
}
$spreadsheet->disconnectWorksheets();
}

public function testURLImageSourceNotFound(): void
Expand All @@ -48,6 +49,7 @@ public function testURLImageSourceNotFound(): void
$worksheet = $spreadsheet->getActiveSheet();
$collection = $worksheet->getDrawingCollection();
self::assertCount(0, $collection);
$spreadsheet->disconnectWorksheets();
}

public function testURLImageSourceBadProtocol(): void
Expand Down

0 comments on commit 512c21e

Please sign in to comment.