From 7ecb65f725d7243d3f1433bb8d2cd1f981c90c07 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 11 Jan 2022 15:59:57 +0100 Subject: Add check before sending email that email address is valid Signed-off-by: Carl Schwan --- apps/sharebymail/tests/ShareByMailProviderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/sharebymail/tests/ShareByMailProviderTest.php') 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'); -- cgit v1.2.3