ensure user folder is created in ApiTest

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/31773/head
Robin Appelman 4 years ago
parent d84f9fa9bb
commit 11a6887c7d
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 3
      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)

Loading…
Cancel
Save