diff options
author | Robin Appelman <robin@icewind.nl> | 2022-03-31 13:31:56 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-04-04 15:40:31 +0200 |
commit | 11a6887c7da0740b95c7f0caf2c4d48532f71431 (patch) | |
tree | e0ba37ddc878b2ce0ba085686c624c2b8aa50927 /apps/files_sharing/tests | |
parent | d84f9fa9bbebb5dd069eaa74ad3b833b587503ae (diff) | |
download | nextcloud-server-11a6887c7da0740b95c7f0caf2c4d48532f71431.tar.gz nextcloud-server-11a6887c7da0740b95c7f0caf2c4d48532f71431.zip |
ensure user folder is created in ApiTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/ApiTest.php | 3 |
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) |