Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2022-09-03 15:49:21 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2022-09-20 12:32:51 +0300
commit369def711a9f18b0be6ab47cf710502e8d592fa2 (patch)
treee4cc560b0b207998f59b032f04da3a18880f3ad7 /tests
parent5dd1c2e140e02d484e70097395def64202b95885 (diff)
Fix psalm warnings
- Account.getEmail() returns always a string - Add import for str_contains to DataUriParser - IspDb.query return outdated docblock - MimeMessage.parse update return type in docblock - Suppress undefined function for str_contains (polyfill is shipped with nextcloud/3rdparty) - Add type cast for IMAPMessage.loadBodyData to detect type properly - Add type for mapSocketTypeToSecurity - Suppress undefined class for doctrine Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Service/IMipServiceTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Unit/Service/IMipServiceTest.php b/tests/Unit/Service/IMipServiceTest.php
index 2f39b5b2c..f2c12d08d 100644
--- a/tests/Unit/Service/IMipServiceTest.php
+++ b/tests/Unit/Service/IMipServiceTest.php
@@ -289,6 +289,7 @@ class IMipServiceTest extends TestCase {
$mailbox->setAccountId(200);
$mailAccount = new MailAccount();
$mailAccount->setId(200);
+ $mailAccount->setEmail('vincent@stardew-valley.edu');
$account = new Account($mailAccount);
$imapMessage = $this->createMock(IMAPMessage::class);
$imapMessage->scheduling[] = ['method' => 'REQUEST'];