diff --git a/tests/lib/installer.php b/tests/lib/installer.php
index 97b14ef579a050acd5055ef6e49aed2ae6ec558d..09ad558e93c7ec5a15701658dbb5ebf360c17955 100644
--- a/tests/lib/installer.php
+++ b/tests/lib/installer.php
@@ -30,7 +30,6 @@ class Test_Installer extends PHPUnit_Framework_TestCase {
 
 		//clean-up
 		OC_Installer::removeApp(self::$appid);
-		unlink($tmp);
 	}
 
 	public function testUpdateApp() {
@@ -68,7 +67,5 @@ class Test_Installer extends PHPUnit_Framework_TestCase {
 
 		//clean-up
 		OC_Installer::removeApp(self::$appid);
-		unlink($oldTmp);
-		unlink($newTmp);
 	}
 }