diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 70de7cd1c44a20112d5769f763f54251f97b8cb9..99374d68a5c59971215144727ddb9fe65c55c2b0 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -16,3 +16,4 @@ if (!class_exists('PHPUnit_Framework_TestCase')) {
 
 OC_Hook::clear();
 OC_Log::$enabled = false;
+OC_FileProxy::clearProxies();