@@ -796,8 +796,8 @@ public function dataGetShare() {
796796 $ expected = [
797797 'id ' => 101 ,
798798 'share_type ' => IShare::TYPE_LINK ,
799- 'password ' => 'password ' ,
800- 'share_with ' => 'password ' ,
799+ 'password ' => 'redacted ' ,
800+ 'share_with ' => 'redacted ' ,
801801 'share_with_displayname ' => '(Shared link) ' ,
802802 'send_password_by_talk ' => false ,
803803 'uid_owner ' => 'initiatorId ' ,
@@ -4380,8 +4380,8 @@ public function dataFormatShare() {
43804380 'file_source ' => 3 ,
43814381 'file_parent ' => 1 ,
43824382 'file_target ' => 'myTarget ' ,
4383- 'password ' => 'mypassword ' ,
4384- 'share_with ' => 'mypassword ' ,
4383+ 'password ' => 'redacted ' ,
4384+ 'share_with ' => 'redacted ' ,
43854385 'share_with_displayname ' => '(Shared link) ' ,
43864386 'send_password_by_talk ' => false ,
43874387 'mail_send ' => 0 ,
@@ -4439,8 +4439,8 @@ public function dataFormatShare() {
44394439 'file_source ' => 3 ,
44404440 'file_parent ' => 1 ,
44414441 'file_target ' => 'myTarget ' ,
4442- 'password ' => 'mypassword ' ,
4443- 'share_with ' => 'mypassword ' ,
4442+ 'password ' => 'redacted ' ,
4443+ 'share_with ' => 'redacted ' ,
44444444 'share_with_displayname ' => '(Shared link) ' ,
44454445 'send_password_by_talk ' => true ,
44464446 'mail_send ' => 0 ,
@@ -4784,7 +4784,7 @@ public function dataFormatShare() {
47844784 'mail_send ' => 0 ,
47854785 'mimetype ' => 'myFolderMimeType ' ,
47864786 'has_preview ' => false ,
4787- 'password ' => 'password ' ,
4787+ 'password ' => 'redacted ' ,
47884788 'send_password_by_talk ' => false ,
47894789 'hide_download ' => 0 ,
47904790 'can_edit ' => false ,
@@ -4840,7 +4840,7 @@ public function dataFormatShare() {
48404840 'mail_send ' => 0 ,
48414841 'mimetype ' => 'myFolderMimeType ' ,
48424842 'has_preview ' => false ,
4843- 'password ' => 'password ' ,
4843+ 'password ' => 'redacted ' ,
48444844 'send_password_by_talk ' => true ,
48454845 'hide_download ' => 0 ,
48464846 'can_edit ' => false ,
0 commit comments