Skip to content

Commit

Permalink
test: added unit test of ZipExporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Pribelszki committed Sep 28, 2023
1 parent 9c59490 commit b1ca7de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/unit/model/ZipExporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ public function testCreateZipFile(): void

public function tearDown(): void
{
unlink(self::TMP_TAO_EXPORT_TEST_ZIP);
if (is_file(self::TMP_TAO_EXPORT_TEST_ZIP)) {
unlink(self::TMP_TAO_EXPORT_TEST_ZIP);
}
}
}

0 comments on commit b1ca7de

Please sign in to comment.