diff --git a/tests/unit/zip/ZipStreamWriterTest.php b/tests/unit/zip/ZipStreamWriterTest.php index 75d97895..bb73f73c 100644 --- a/tests/unit/zip/ZipStreamWriterTest.php +++ b/tests/unit/zip/ZipStreamWriterTest.php @@ -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); + } } /**