From e4c44711de0acae724f235f25387317ee36262ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 15 Dec 2013 14:43:33 +0100 Subject: [PATCH] Properly remove the temp file. re #127 --- test/OPDSTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/OPDSTest.php b/test/OPDSTest.php index 9d6aafc..8c88894 100644 --- a/test/OPDSTest.php +++ b/test/OPDSTest.php @@ -16,6 +16,13 @@ define ("TEST_FEED", dirname(__FILE__) . "/text.atom"); class OpdsTest extends PHPUnit_Framework_TestCase { + public static function tearDownAfterClass() + { + if (!file_exists (TEST_FEED)) { + return; + } + unlink (TEST_FEED); + } function opdsValidateSchema($feed) { $path = "";