From 11a6887c7da0740b95c7f0caf2c4d48532f71431 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 31 Mar 2022 13:31:56 +0200 Subject: ensure user folder is created in ApiTest Signed-off-by: Robin Appelman --- apps/files_sharing/tests/ApiTest.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/files_sharing/tests') 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) -- cgit v1.2.3