From dcc7739be84e3ba9b12b93226c364c458e5b8a2a Mon Sep 17 00:00:00 2001 From: Ben XO <75862+ben-xo@users.noreply.github.com> Date: Sun, 27 Feb 2022 19:56:54 +0000 Subject: [PATCH] Fix small teardown bug which left a test file lying around --- test/RSS_File_ItemTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/test/RSS_File_ItemTest.php b/test/RSS_File_ItemTest.php index 76b12ce..a49068c 100644 --- a/test/RSS_File_ItemTest.php +++ b/test/RSS_File_ItemTest.php @@ -309,6 +309,7 @@ public function test_getModificationTime_returns_most_recent_including_metadata_ public function tearDown(): void { + file_exists($this->filename) && unlink($this->filename); file_exists('example.jpg') && unlink('example.jpg'); file_exists('example.png') && unlink('example.png'); file_exists('example.txt') && unlink('example.txt');