aboutsummaryrefslogtreecommitdiffstats
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.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php
index a201974de45..34924110b30 100644
--- a/apps/files_sharing/tests/TestCase.php
+++ b/apps/files_sharing/tests/TestCase.php
@@ -125,6 +125,14 @@ abstract class TestCase extends \Test\TestCase {
$qb->delete('share');
$qb->execute();
+ $qb = \OC::$server->getDatabaseConnection()->getQueryBuilder();
+ $qb->delete('mounts');
+ $qb->execute();
+
+ $qb = \OC::$server->getDatabaseConnection()->getQueryBuilder();
+ $qb->delete('filecache');
+ $qb->execute();
+
parent::tearDown();
}