Skip to content

Commit 512c21e

Browse files
committed
Add Disconnects
1 parent f7fcb4b commit 512c21e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/PhpSpreadsheetTests/Reader/Xlsx/URLImageTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function testURLImageSource(): void
3434
self::assertSame(84, $drawing->getWidth());
3535
self::assertSame(44, $drawing->getHeight());
3636
}
37+
$spreadsheet->disconnectWorksheets();
3738
}
3839

3940
public function testURLImageSourceNotFound(): void
@@ -48,6 +49,7 @@ public function testURLImageSourceNotFound(): void
4849
$worksheet = $spreadsheet->getActiveSheet();
4950
$collection = $worksheet->getDrawingCollection();
5051
self::assertCount(0, $collection);
52+
$spreadsheet->disconnectWorksheets();
5153
}
5254

5355
public function testURLImageSourceBadProtocol(): void

0 commit comments

Comments
 (0)