aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-09-18 15:45:20 +0200
committerLouis <louis@chmn.me>2024-10-08 18:14:26 +0200
commitd3f2e39529bbad7808de729d4cf68dede294d769 (patch)
tree10c072416e331aacb1917eccd6aa7645f4066103 /apps
parent5b7c43f9d539c9ca94ee2b5ede1cd4bf0a55cd62 (diff)
downloadnextcloud-server-d3f2e39529bbad7808de729d4cf68dede294d769.tar.gz
nextcloud-server-d3f2e39529bbad7808de729d4cf68dede294d769.zip
test: fix ShareControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/Controller/ShareControllerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareControllerTest.php b/apps/files_sharing/tests/Controller/ShareControllerTest.php
index 3a73862bf77..4825f1988ac 100644
--- a/apps/files_sharing/tests/Controller/ShareControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php
@@ -375,7 +375,8 @@ class ShareControllerTest extends \Test\TestCase {
'previewURL' => 'downloadURL',
'note' => $note,
'hideDownload' => false,
- 'showgridview' => false
+ 'showgridview' => false,
+ 'filename' => $filename,
];
$csp = new \OCP\AppFramework\Http\ContentSecurityPolicy();