Skip to content

Commit 47a31f2

Browse files
changed the data tpe for hide download
Signed-off-by: Yogesh Shejwadkar <yogesh.shejwadkar@t-systems.com>
1 parent bb9315e commit 47a31f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_sharing/tests/Controller/ShareAPIControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public function testGetGetShareNotExists() {
505505

506506
public function createShare($id, $shareType, $sharedWith, $sharedBy, $shareOwner, $path, $permissions,
507507
$shareTime, $expiration, $parent, $target, $mail_send, $note = '', $token = null,
508-
$password = null, $label = '', $hideDownload = null) {
508+
$password = null, $label = '', $hideDownload = false) {
509509
$share = $this->getMockBuilder(IShare::class)->getMock();
510510
$share->method('getId')->willReturn($id);
511511
$share->method('getShareType')->willReturn($shareType);

0 commit comments

Comments
 (0)