Properly remove the temp file. re #127
This commit is contained in:
		
							parent
							
								
									0b4dc30f7b
								
							
						
					
					
						commit
						e4c44711de
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue