diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-11 15:59:57 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-01-11 20:59:44 +0100 |
commit | 7ecb65f725d7243d3f1433bb8d2cd1f981c90c07 (patch) | |
tree | a32be16a82b5f07c529faf82aca2982400917646 /apps/sharebymail/tests | |
parent | d4a5e480ab9fb2337909f1be3c30048a8eb14d78 (diff) | |
download | nextcloud-server-7ecb65f725d7243d3f1433bb8d2cd1f981c90c07.tar.gz nextcloud-server-7ecb65f725d7243d3f1433bb8d2cd1f981c90c07.zip |
Add check before sending email that email address is valid
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/sharebymail/tests')
-rw-r--r-- | apps/sharebymail/tests/ShareByMailProviderTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index bbe5516408d..45cab303669 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -217,7 +217,7 @@ class ShareByMailProviderTest extends TestCase { public function testCreateSendPasswordByMailWithoutEnforcedPasswordProtection() { $share = $this->getMockBuilder(IShare::class)->getMock(); - $share->expects($this->any())->method('getSharedWith')->willReturn('receiver@example.com'); + $share->expects($this->any())->method('getSharedWith')->willReturn('receiver@examplelölöl.com'); $share->expects($this->any())->method('getSendPasswordByTalk')->willReturn(false); $share->expects($this->any())->method('getSharedBy')->willReturn('owner'); |