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:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-05-23 11:52:42 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-05-25 17:29:29 +0300
commitbbd1806056ee45950fecbe19b6233b15025b38ae (patch)
tree77b1f7793bc444de72eafbed228aa0ed122c33d6 /tests
parentfa1bc2931090b54c76ac99578e00f48df67c1025 (diff)
Use UID ranges for IMAP fetch operations during sync
This does not show any measurable performance improvement but precents the issue that the IMAP command can be too long for some IMAP servers otherwise. Ref https://github.com/nextcloud/mail/commit/e22742731adc1c1c03c394029948c7fa67e31b74 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/IMAP/MessageMapperTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/IMAP/MessageMapperTest.php b/tests/Unit/IMAP/MessageMapperTest.php
index 78b054eda..618352bd1 100644
--- a/tests/Unit/IMAP/MessageMapperTest.php
+++ b/tests/Unit/IMAP/MessageMapperTest.php
@@ -81,7 +81,7 @@ class MessageMapperTest extends TestCase {
$message2,
];
- $result = $this->mapper->findByIds($imapClient, $mailbox, $ids);
+ $result = $this->mapper->findByIds($imapClient, $mailbox, new Horde_Imap_Client_Ids($ids));
$this->assertEquals($expected, $result);
}