Properly remove the temp file. re #127

This commit is contained in:
Sébastien Lucas 2013-12-15 14:43:33 +01:00
parent 0b4dc30f7b
commit e4c44711de

View file

@ -16,6 +16,13 @@ define ("TEST_FEED", dirname(__FILE__) . "/text.atom");
class OpdsTest extends PHPUnit_Framework_TestCase class OpdsTest extends PHPUnit_Framework_TestCase
{ {
public static function tearDownAfterClass()
{
if (!file_exists (TEST_FEED)) {
return;
}
unlink (TEST_FEED);
}
function opdsValidateSchema($feed) { function opdsValidateSchema($feed) {
$path = ""; $path = "";