Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-03-31 14:31:56 +0300
committerRobin Appelman <robin@icewind.nl>2022-04-04 16:40:31 +0300
commit11a6887c7da0740b95c7f0caf2c4d48532f71431 (patch)
treee0ba37ddc878b2ce0ba085686c624c2b8aa50927 /apps
parentd84f9fa9bbebb5dd069eaa74ad3b833b587503ae (diff)
ensure user folder is created in ApiTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/ApiTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/ApiTest.php b/apps/files_sharing/tests/ApiTest.php
index f3a31578511..c7159e82163 100644
--- a/apps/files_sharing/tests/ApiTest.php
+++ b/apps/files_sharing/tests/ApiTest.php
@@ -383,6 +383,9 @@ class ApiTest extends TestCase {
}
public function testGetAllSharesWithMe() {
+ $this->loginAsUser(self::TEST_FILES_SHARING_API_USER2);
+ $this->logout();
+
$node1 = $this->userFolder->get($this->filename);
$share1 = $this->shareManager->newShare();
$share1->setNode($node1)