Skip to content

Commit

Permalink
Empty tempDir before removing it
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Jun 4, 2024
1 parent 4126960 commit 714600d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/zip/ZipStreamWriterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public function after() {
if (file_exists($this->tempSourceFile)) {
unlink($this->tempSourceFile);
}
if (is_dir($this->tempDir)) {
rmdir($this->tempDir);
}
if (file_exists($this->tempZipPath)) {
unlink($this->tempZipPath);
}
if (is_dir($this->tempDir)) {
rmdir($this->tempDir);
}
}

/**
Expand Down

0 comments on commit 714600d

Please sign in to comment.