2 parents c5d595a + a50fc7e commit 1f5449fCopy full SHA for 1f5449f
1 file changed
tests/unit/Service/FilesAppServiceTest.php
@@ -98,7 +98,7 @@ public function testCreateWithValidFilename() {
98
->method('validateFilename')
99
->with('valid-file.txt');
100
101
- $userFolder = $this->createMock(\OCP\Files\Folder::class);
+ $userFolder = $this->createMock(\OCP\Files\IUserFolder::class);
102
$this->rootFolder->expects($this->any())
103
->method('getUserFolder')
104
->willReturn($userFolder);
0 commit comments