Browse Source
ensure user folder is created in ApiTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/31773/head
Robin Appelman
4 years ago
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with
3 additions and
0 deletions
-
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) |
|
|
|
|