mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
test: adjust tests redacted password field
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
aa7e48e5e8
commit
b2494f224f
1 changed files with 8 additions and 8 deletions
|
|
@ -807,8 +807,8 @@ class ShareAPIControllerTest extends TestCase {
|
|||
$expected = [
|
||||
'id' => '101',
|
||||
'share_type' => IShare::TYPE_LINK,
|
||||
'password' => 'password',
|
||||
'share_with' => 'password',
|
||||
'password' => 'redacted',
|
||||
'share_with' => 'redacted',
|
||||
'share_with_displayname' => '(Shared link)',
|
||||
'send_password_by_talk' => false,
|
||||
'uid_owner' => 'initiatorId',
|
||||
|
|
@ -4405,8 +4405,8 @@ class ShareAPIControllerTest extends TestCase {
|
|||
'file_source' => 3,
|
||||
'file_parent' => 1,
|
||||
'file_target' => 'myTarget',
|
||||
'password' => 'mypassword',
|
||||
'share_with' => 'mypassword',
|
||||
'password' => 'redacted',
|
||||
'share_with' => 'redacted',
|
||||
'share_with_displayname' => '(Shared link)',
|
||||
'send_password_by_talk' => false,
|
||||
'mail_send' => 0,
|
||||
|
|
@ -4450,8 +4450,8 @@ class ShareAPIControllerTest extends TestCase {
|
|||
'file_source' => 3,
|
||||
'file_parent' => 1,
|
||||
'file_target' => 'myTarget',
|
||||
'password' => 'mypassword',
|
||||
'share_with' => 'mypassword',
|
||||
'password' => 'redacted',
|
||||
'share_with' => 'redacted',
|
||||
'share_with_displayname' => '(Shared link)',
|
||||
'send_password_by_talk' => true,
|
||||
'mail_send' => 0,
|
||||
|
|
@ -4768,7 +4768,7 @@ class ShareAPIControllerTest extends TestCase {
|
|||
'mail_send' => 0,
|
||||
'mimetype' => 'myFolderMimeType',
|
||||
'has_preview' => false,
|
||||
'password' => 'password',
|
||||
'password' => 'redacted',
|
||||
'send_password_by_talk' => false,
|
||||
'hide_download' => 0,
|
||||
'can_edit' => false,
|
||||
|
|
@ -4813,7 +4813,7 @@ class ShareAPIControllerTest extends TestCase {
|
|||
'mail_send' => 0,
|
||||
'mimetype' => 'myFolderMimeType',
|
||||
'has_preview' => false,
|
||||
'password' => 'password',
|
||||
'password' => 'redacted',
|
||||
'send_password_by_talk' => true,
|
||||
'hide_download' => 0,
|
||||
'can_edit' => false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue