ensure user folder is created in ApiTest

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2022-03-31 13:31:56 +02:00
parent d84f9fa9bb
commit 11a6887c7d
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -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)