summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-09-22 18:13:40 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-09-24 14:02:02 +0200
commit5c7fe91041443dacb50f278c60ec5a6007216d61 (patch)
tree740fc080178f642c67254e5807e118d1931971c2 /apps
parent07d43df71382d95839dd4335338d34fd6827b6b1 (diff)
downloadnextcloud-server-5c7fe91041443dacb50f278c60ec5a6007216d61.tar.gz
nextcloud-server-5c7fe91041443dacb50f278c60ec5a6007216d61.zip
clear share table after each test run
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/base.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/base.php b/apps/files_sharing/tests/base.php
index 60159d84e7e..738ba3493ba 100644
--- a/apps/files_sharing/tests/base.php
+++ b/apps/files_sharing/tests/base.php
@@ -92,6 +92,9 @@ abstract class Test_Files_Sharing_Base extends \PHPUnit_Framework_TestCase {
} else {
\OC_App::disable('files_encryption');
}
+
+ $query = \OCP\DB::prepare('DELETE FROM `*PREFIX*share`');
+ $query->execute();
}
public static function tearDownAfterClass() {