summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-18 12:43:08 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-10-30 15:18:55 +0100
commitc237a3f00340d807590f5b4df8e69738ed2fa2b9 (patch)
treee900d2a55aeb62fe5f31b7549f8140202e4018ed /apps/files_sharing/tests
parentabbb946bbbdfedc127b1135d8a54f391e3f2d375 (diff)
downloadnextcloud-server-c237a3f00340d807590f5b4df8e69738ed2fa2b9.tar.gz
nextcloud-server-c237a3f00340d807590f5b4df8e69738ed2fa2b9.zip
Expose hide download to public page
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/tests')
-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 a01560d0288..87d06fb7dfb 100644
--- a/apps/files_sharing/tests/Controller/ShareControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php
@@ -287,7 +287,8 @@ class ShareControllerTest extends \Test\TestCase {
'shareUrl' => null,
'previewImage' => null,
'previewURL' => 'downloadURL',
- 'note' => $note
+ 'note' => $note,
+ 'hideDownload' => false
);
$csp = new \OCP\AppFramework\Http\ContentSecurityPolicy();