Skip to content

Commit cc6a062

Browse files
committed
Fix tests in files_versions
1 parent 229bfcb commit cc6a062

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/files_versions/tests/Controller/PreviewControllerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ protected function setUp(): void {
7373
$user->expects($this->any())
7474
->method('getUID')
7575
->willReturn($this->userId);
76-
$this->mimeTypeDetector = $this->createMock(IMimeTypeDetector::class);
7776
$this->previewManager = $this->createMock(IPreview::class);
7877
$this->userSession = $this->createMock(IUserSession::class);
7978
$this->userSession->expects($this->any())
@@ -86,7 +85,6 @@ protected function setUp(): void {
8685
$this->createMock(IRequest::class),
8786
$this->rootFolder,
8887
$this->userSession,
89-
$this->mimeTypeDetector,
9088
$this->versionManager,
9189
$this->previewManager
9290
);

0 commit comments

Comments
 (0)