Skip to content

Commit e6421cb

Browse files
icewind1991backportbot[bot]
authored andcommitted
test: adjust tests redacted password field
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent af559d1 commit e6421cb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

apps/files_sharing/tests/Controller/ShareAPIControllerTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,8 @@ public function dataGetShare() {
787787
$expected = [
788788
'id' => 101,
789789
'share_type' => IShare::TYPE_LINK,
790-
'password' => 'password',
791-
'share_with' => 'password',
790+
'password' => 'redacted',
791+
'share_with' => 'redacted',
792792
'share_with_displayname' => '(Shared link)',
793793
'send_password_by_talk' => false,
794794
'uid_owner' => 'initiatorId',
@@ -4329,8 +4329,8 @@ public function dataFormatShare() {
43294329
'file_source' => 3,
43304330
'file_parent' => 1,
43314331
'file_target' => 'myTarget',
4332-
'password' => 'mypassword',
4333-
'share_with' => 'mypassword',
4332+
'password' => 'redacted',
4333+
'share_with' => 'redacted',
43344334
'share_with_displayname' => '(Shared link)',
43354335
'send_password_by_talk' => false,
43364336
'mail_send' => 0,
@@ -4388,8 +4388,8 @@ public function dataFormatShare() {
43884388
'file_source' => 3,
43894389
'file_parent' => 1,
43904390
'file_target' => 'myTarget',
4391-
'password' => 'mypassword',
4392-
'share_with' => 'mypassword',
4391+
'password' => 'redacted',
4392+
'share_with' => 'redacted',
43934393
'share_with_displayname' => '(Shared link)',
43944394
'send_password_by_talk' => true,
43954395
'mail_send' => 0,
@@ -4733,7 +4733,7 @@ public function dataFormatShare() {
47334733
'mail_send' => 0,
47344734
'mimetype' => 'myFolderMimeType',
47354735
'has_preview' => false,
4736-
'password' => 'password',
4736+
'password' => 'redacted',
47374737
'send_password_by_talk' => false,
47384738
'hide_download' => 0,
47394739
'can_edit' => false,
@@ -4789,7 +4789,7 @@ public function dataFormatShare() {
47894789
'mail_send' => 0,
47904790
'mimetype' => 'myFolderMimeType',
47914791
'has_preview' => false,
4792-
'password' => 'password',
4792+
'password' => 'redacted',
47934793
'send_password_by_talk' => true,
47944794
'hide_download' => 0,
47954795
'can_edit' => false,

0 commit comments

Comments
 (0)