summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/testcase.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/testcase.php')
-rw-r--r--apps/files_sharing/tests/testcase.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/testcase.php b/apps/files_sharing/tests/testcase.php
index 78277dc907f..034baa785da 100644
--- a/apps/files_sharing/tests/testcase.php
+++ b/apps/files_sharing/tests/testcase.php
@@ -22,6 +22,7 @@
namespace OCA\Files_Sharing\Tests;
+use OC\Files\Filesystem;
use OCA\Files\Share;
/**
@@ -115,6 +116,10 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase {
} else {
\OC_App::disable('files_encryption');
}
+
+ \OC_Util::tearDownFS();
+ \OC_User::setUserId('');
+ Filesystem::tearDown();
}
/**