summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/TestCase.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-09-20 15:27:40 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-12 16:12:34 +0200
commit3845d4ec9a7a84cda4f2fe5fbb4a65e90dfe21ff (patch)
tree233cf89b99b86c120e43e01aea0731742b3206df /apps/files_sharing/tests/TestCase.php
parent7ce68ce6ac03f85532e312a68e61aaa0e09037ba (diff)
downloadnextcloud-server-3845d4ec9a7a84cda4f2fe5fbb4a65e90dfe21ff.tar.gz
nextcloud-server-3845d4ec9a7a84cda4f2fe5fbb4a65e90dfe21ff.zip
more robust test setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/tests/TestCase.php')
-rw-r--r--apps/files_sharing/tests/TestCase.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php
index 0ad58151dbb..1777eb5bad2 100644
--- a/apps/files_sharing/tests/TestCase.php
+++ b/apps/files_sharing/tests/TestCase.php
@@ -31,8 +31,10 @@
namespace OCA\Files_Sharing\Tests;
+use OC\Files\Cache\Scanner;
use OC\Files\Filesystem;
use OCA\Files_Sharing\AppInfo\Application;
+use Test\Traits\MountProviderTrait;
/**
* Class TestCase
@@ -42,6 +44,7 @@ use OCA\Files_Sharing\AppInfo\Application;
* Base class for sharing tests.
*/
abstract class TestCase extends \Test\TestCase {
+ use MountProviderTrait;
const TEST_FILES_SHARING_API_USER1 = "test-share-user1";
const TEST_FILES_SHARING_API_USER2 = "test-share-user2";