@@ -715,8 +715,8 @@ public function dataGetShare() {
715715 $ expected = [
716716 'id ' => 101 ,
717717 'share_type ' => IShare::TYPE_LINK ,
718- 'password ' => 'password ' ,
719- 'share_with ' => 'password ' ,
718+ 'password ' => 'redacted ' ,
719+ 'share_with ' => 'redacted ' ,
720720 'share_with_displayname ' => '(Shared link) ' ,
721721 'send_password_by_talk ' => false ,
722722 'uid_owner ' => 'initiatorId ' ,
@@ -4185,8 +4185,8 @@ public function dataFormatShare() {
41854185 'file_source ' => 3 ,
41864186 'file_parent ' => 1 ,
41874187 'file_target ' => 'myTarget ' ,
4188- 'password ' => 'mypassword ' ,
4189- 'share_with ' => 'mypassword ' ,
4188+ 'password ' => 'redacted ' ,
4189+ 'share_with ' => 'redacted ' ,
41904190 'share_with_displayname ' => '(Shared link) ' ,
41914191 'send_password_by_talk ' => false ,
41924192 'mail_send ' => 0 ,
@@ -4244,8 +4244,8 @@ public function dataFormatShare() {
42444244 'file_source ' => 3 ,
42454245 'file_parent ' => 1 ,
42464246 'file_target ' => 'myTarget ' ,
4247- 'password ' => 'mypassword ' ,
4248- 'share_with ' => 'mypassword ' ,
4247+ 'password ' => 'redacted ' ,
4248+ 'share_with ' => 'redacted ' ,
42494249 'share_with_displayname ' => '(Shared link) ' ,
42504250 'send_password_by_talk ' => true ,
42514251 'mail_send ' => 0 ,
@@ -4587,7 +4587,7 @@ public function dataFormatShare() {
45874587 'mail_send ' => 0 ,
45884588 'mimetype ' => 'myFolderMimeType ' ,
45894589 'has_preview ' => false ,
4590- 'password ' => 'password ' ,
4590+ 'password ' => 'redacted ' ,
45914591 'send_password_by_talk ' => false ,
45924592 'hide_download ' => 0 ,
45934593 'can_edit ' => false ,
@@ -4643,7 +4643,7 @@ public function dataFormatShare() {
46434643 'mail_send ' => 0 ,
46444644 'mimetype ' => 'myFolderMimeType ' ,
46454645 'has_preview ' => false ,
4646- 'password ' => 'password ' ,
4646+ 'password ' => 'redacted ' ,
46474647 'send_password_by_talk ' => true ,
46484648 'hide_download ' => 0 ,
46494649 'can_edit ' => false ,
0 commit comments