diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-07-10 12:33:25 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-07-24 13:56:28 +0200 |
commit | dd0c5e297e3190b1f4324fb2e88e08760d8d71b8 (patch) | |
tree | 3a629feffcb3f6358ea72e24b452dfdc043a0757 /apps/sharebymail/tests | |
parent | 88600f4ecf6358f5279327cc8ed8471ae7d33b2a (diff) | |
download | nextcloud-server-dd0c5e297e3190b1f4324fb2e88e08760d8d71b8.tar.gz nextcloud-server-dd0c5e297e3190b1f4324fb2e88e08760d8d71b8.zip |
Store "sendPasswordByTalk" property of mail shares in the database
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/sharebymail/tests')
-rw-r--r-- | apps/sharebymail/tests/ShareByMailProviderTest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index f0d99e6026c..48b5de62146 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -296,6 +296,7 @@ class ShareByMailProviderTest extends TestCase { $permissions = 1; $token = 'token'; $password = 'password'; + $sendPasswordByTalk = true; $instance = $this->getInstance(); @@ -310,7 +311,8 @@ class ShareByMailProviderTest extends TestCase { $uidOwner, $permissions, $token, - $password + $password, + $sendPasswordByTalk ] ); @@ -330,6 +332,7 @@ class ShareByMailProviderTest extends TestCase { $this->assertSame($permissions, (int)$result[0]['permissions']); $this->assertSame($token, $result[0]['token']); $this->assertSame($password, $result[0]['password']); + $this->assertSame($sendPasswordByTalk, (bool)$result[0]['password_by_talk']); } |