@@ -807,8 +807,8 @@ public static function dataGetShare(): array {
807807 $ expected = [
808808 'id ' => '101 ' ,
809809 'share_type ' => IShare::TYPE_LINK ,
810- 'password ' => 'password ' ,
811- 'share_with ' => 'password ' ,
810+ 'password ' => 'redacted ' ,
811+ 'share_with ' => 'redacted ' ,
812812 'share_with_displayname ' => '(Shared link) ' ,
813813 'send_password_by_talk ' => false ,
814814 'uid_owner ' => 'initiatorId ' ,
@@ -4405,8 +4405,8 @@ public static function dataFormatShare(): array {
44054405 'file_source ' => 3 ,
44064406 'file_parent ' => 1 ,
44074407 'file_target ' => 'myTarget ' ,
4408- 'password ' => 'mypassword ' ,
4409- 'share_with ' => 'mypassword ' ,
4408+ 'password ' => 'redacted ' ,
4409+ 'share_with ' => 'redacted ' ,
44104410 'share_with_displayname ' => '(Shared link) ' ,
44114411 'send_password_by_talk ' => false ,
44124412 'mail_send ' => 0 ,
@@ -4450,8 +4450,8 @@ public static function dataFormatShare(): array {
44504450 'file_source ' => 3 ,
44514451 'file_parent ' => 1 ,
44524452 'file_target ' => 'myTarget ' ,
4453- 'password ' => 'mypassword ' ,
4454- 'share_with ' => 'mypassword ' ,
4453+ 'password ' => 'redacted ' ,
4454+ 'share_with ' => 'redacted ' ,
44554455 'share_with_displayname ' => '(Shared link) ' ,
44564456 'send_password_by_talk ' => true ,
44574457 'mail_send ' => 0 ,
@@ -4768,7 +4768,7 @@ public static function dataFormatShare(): array {
47684768 'mail_send ' => 0 ,
47694769 'mimetype ' => 'myFolderMimeType ' ,
47704770 'has_preview ' => false ,
4771- 'password ' => 'password ' ,
4771+ 'password ' => 'redacted ' ,
47724772 'send_password_by_talk ' => false ,
47734773 'hide_download ' => 0 ,
47744774 'can_edit ' => false ,
@@ -4813,7 +4813,7 @@ public static function dataFormatShare(): array {
48134813 'mail_send ' => 0 ,
48144814 'mimetype ' => 'myFolderMimeType ' ,
48154815 'has_preview ' => false ,
4816- 'password ' => 'password ' ,
4816+ 'password ' => 'redacted ' ,
48174817 'send_password_by_talk ' => true ,
48184818 'hide_download ' => 0 ,
48194819 'can_edit ' => false ,
0 commit comments