1
0
Fork 0

Close zip archive after test finishes

pull/9404/head
Tanel Pipar 2020-11-03 12:27:15 +02:00
parent b57792a80a
commit ad2fcf8d92
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class ZipArchiverTest extends ArchiverTest
foreach ($files as $file) { foreach ($files as $file) {
$this->assertSame('content', $zip->getFromName($file), 'Failed asserting that Zip contains ' . $file); $this->assertSame('content', $zip->getFromName($file), 'Failed asserting that Zip contains ' . $file);
} }
$zip->close();
unlink($target); unlink($target);
} }