summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/base.php')
-rw-r--r--apps/files_sharing/tests/base.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/base.php b/apps/files_sharing/tests/base.php
index 7cd36b9d419..34ec4a36ede 100644
--- a/apps/files_sharing/tests/base.php
+++ b/apps/files_sharing/tests/base.php
@@ -109,6 +109,8 @@ abstract class Test_Files_Sharing_Base extends \PHPUnit_Framework_TestCase {
if ($create) {
\OC_User::createUser($user, $password);
+ \OC_Group::createGroup('group');
+ \OC_Group::addToGroup($user, 'group');
}
\OC_Util::tearDownFS();