Skip to content

Commit 3713063

Browse files
committed
ensure user folder is created in ApiTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent e2cf5de commit 3713063

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/files_sharing/tests/ApiTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ public function testGetAllShares() {
383383
}
384384

385385
public function testGetAllSharesWithMe() {
386+
$this->loginAsUser(self::TEST_FILES_SHARING_API_USER2);
387+
$this->logout();
388+
386389
$node1 = $this->userFolder->get($this->filename);
387390
$share1 = $this->shareManager->newShare();
388391
$share1->setNode($node1)

0 commit comments

Comments
 (0)