Skip to content

Commit

Permalink
test: fix ShareControllerTest.php
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Sep 19, 2024
1 parent 4375314 commit 9cf22be
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions apps/files_sharing/tests/Controller/ShareControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,27 +333,10 @@ public function testShowShare() {
'mimetype' => 'text/plain',
'dirToken' => 'token',
'sharingToken' => 'token',
'server2serversharing' => true,
'protected' => 'true',
'dir' => '',
'downloadURL' => 'downloadURL',
'fileSize' => '33 B',
'nonHumanFileSize' => 33,
'maxSizeAnimateGif' => 10,
'previewSupported' => true,
'previewEnabled' => true,
'previewMaxX' => 1024,
'previewMaxY' => 1024,
'hideFileList' => false,
'shareOwner' => 'ownerDisplay',
'disclaimer' => 'My disclaimer text',
'shareUrl' => 'shareUrl',
'previewImage' => 'previewImage',
'previewURL' => 'downloadURL',
'note' => $note,
'hideDownload' => false,
'showgridview' => false,
'label' => ''
'sharePermissions' => (Constants::PERMISSION_READ | Constants::PERMISSION_UPDATE),
'filename' => $filename,
'view' => $view,
'fileId' => 111,
];

$csp = new \OCP\AppFramework\Http\ContentSecurityPolicy();
Expand Down

0 comments on commit 9cf22be

Please sign in to comment.