@@ -733,8 +733,8 @@ public function dataGetShare() {
733733 $ expected = [
734734 'id ' => 101 ,
735735 'share_type ' => IShare::TYPE_LINK ,
736- 'password ' => 'password ' ,
737- 'share_with ' => 'password ' ,
736+ 'password ' => 'redacted ' ,
737+ 'share_with ' => 'redacted ' ,
738738 'share_with_displayname ' => '(Shared link) ' ,
739739 'send_password_by_talk ' => false ,
740740 'uid_owner ' => 'initiatorId ' ,
@@ -4189,8 +4189,8 @@ public function dataFormatShare() {
41894189 'file_source ' => 3 ,
41904190 'file_parent ' => 1 ,
41914191 'file_target ' => 'myTarget ' ,
4192- 'password ' => 'mypassword ' ,
4193- 'share_with ' => 'mypassword ' ,
4192+ 'password ' => 'redacted ' ,
4193+ 'share_with ' => 'redacted ' ,
41944194 'share_with_displayname ' => '(Shared link) ' ,
41954195 'send_password_by_talk ' => false ,
41964196 'mail_send ' => 0 ,
@@ -4248,8 +4248,8 @@ public function dataFormatShare() {
42484248 'file_source ' => 3 ,
42494249 'file_parent ' => 1 ,
42504250 'file_target ' => 'myTarget ' ,
4251- 'password ' => 'mypassword ' ,
4252- 'share_with ' => 'mypassword ' ,
4251+ 'password ' => 'redacted ' ,
4252+ 'share_with ' => 'redacted ' ,
42534253 'share_with_displayname ' => '(Shared link) ' ,
42544254 'send_password_by_talk ' => true ,
42554255 'mail_send ' => 0 ,
@@ -4591,7 +4591,7 @@ public function dataFormatShare() {
45914591 'mail_send ' => 0 ,
45924592 'mimetype ' => 'myFolderMimeType ' ,
45934593 'has_preview ' => false ,
4594- 'password ' => 'password ' ,
4594+ 'password ' => 'redacted ' ,
45954595 'send_password_by_talk ' => false ,
45964596 'hide_download ' => 0 ,
45974597 'can_edit ' => false ,
@@ -4647,7 +4647,7 @@ public function dataFormatShare() {
46474647 'mail_send ' => 0 ,
46484648 'mimetype ' => 'myFolderMimeType ' ,
46494649 'has_preview ' => false ,
4650- 'password ' => 'password ' ,
4650+ 'password ' => 'redacted ' ,
46514651 'send_password_by_talk ' => true ,
46524652 'hide_download ' => 0 ,
46534653 'can_edit ' => false ,
0 commit comments