aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-09-18 15:45:20 +0200
committerRobin Appelman <robin@icewind.nl>2024-09-19 17:51:51 +0200
commitfafc93b08a50bcebba293d4cc515f0294ee6b45f (patch)
tree7e37d4e82af4ad33224beb911828ddfac23a4c95
parentc17d78c6630c1691ae2a9efecfb73be4471eb0d9 (diff)
downloadnextcloud-server-fafc93b08a50bcebba293d4cc515f0294ee6b45f.tar.gz
nextcloud-server-fafc93b08a50bcebba293d4cc515f0294ee6b45f.zip
test: fix ShareControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
-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 c8dc6c5de66..d82d403d8f9 100644
--- a/apps/files_sharing/tests/Controller/ShareControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php
@@ -379,7 +379,8 @@ class ShareControllerTest extends \Test\TestCase {
'previewURL' => 'downloadURL',
'note' => $note,
'hideDownload' => false,
- 'showgridview' => false
+ 'showgridview' => false,
+ 'filename' => $filename,
];
$csp = new \OCP\AppFramework\Http\ContentSecurityPolicy();