@@ -796,8 +796,8 @@ public static function dataGetShare(): array {
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 ' ,
@@ -4422,8 +4422,8 @@ public static function dataFormatShare(): array {
44224422 'file_source ' => 3 ,
44234423 'file_parent ' => 1 ,
44244424 'file_target ' => 'myTarget ' ,
4425- 'password ' => 'mypassword ' ,
4426- 'share_with ' => 'mypassword ' ,
4425+ 'password ' => 'redacted ' ,
4426+ 'share_with ' => 'redacted ' ,
44274427 'share_with_displayname ' => '(Shared link) ' ,
44284428 'send_password_by_talk ' => false ,
44294429 'mail_send ' => 0 ,
@@ -4467,8 +4467,8 @@ public static function dataFormatShare(): array {
44674467 'file_source ' => 3 ,
44684468 'file_parent ' => 1 ,
44694469 'file_target ' => 'myTarget ' ,
4470- 'password ' => 'mypassword ' ,
4471- 'share_with ' => 'mypassword ' ,
4470+ 'password ' => 'redacted ' ,
4471+ 'share_with ' => 'redacted ' ,
44724472 'share_with_displayname ' => '(Shared link) ' ,
44734473 'send_password_by_talk ' => true ,
44744474 'mail_send ' => 0 ,
@@ -4785,7 +4785,7 @@ public static function dataFormatShare(): array {
47854785 'mail_send ' => 0 ,
47864786 'mimetype ' => 'myFolderMimeType ' ,
47874787 'has_preview ' => false ,
4788- 'password ' => 'password ' ,
4788+ 'password ' => 'redacted ' ,
47894789 'send_password_by_talk ' => false ,
47904790 'hide_download ' => 0 ,
47914791 'can_edit ' => false ,
@@ -4830,7 +4830,7 @@ public static function dataFormatShare(): array {
48304830 'mail_send ' => 0 ,
48314831 'mimetype ' => 'myFolderMimeType ' ,
48324832 'has_preview ' => false ,
4833- 'password ' => 'password ' ,
4833+ 'password ' => 'redacted ' ,
48344834 'send_password_by_talk ' => true ,
48354835 'hide_download ' => 0 ,
48364836 'can_edit ' => false ,
0 commit comments