Properly remove the temp file. re #127
This commit is contained in:
parent
0b4dc30f7b
commit
e4c44711de
|
@ -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 = "";
|
||||||
|
|
Loading…
Reference in a new issue