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
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Integration/Service/OutboxServiceIntegrationTest.php')
-rw-r--r--tests/Integration/Service/OutboxServiceIntegrationTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/Integration/Service/OutboxServiceIntegrationTest.php b/tests/Integration/Service/OutboxServiceIntegrationTest.php
index cbfa17c13..9386f97ea 100644
--- a/tests/Integration/Service/OutboxServiceIntegrationTest.php
+++ b/tests/Integration/Service/OutboxServiceIntegrationTest.php
@@ -160,9 +160,7 @@ class OutboxServiceIntegrationTest extends TestCase {
$this->assertNotEmpty($message->getRecipients());
$this->assertEmpty($message->getAttachments());
- $retrieved->resetUpdatedFields();
- $saved->resetUpdatedFields();
- $this->assertEquals($saved, $retrieved); // Assure both operations are identical
+ self::assertCount(1, $retrieved->getRecipients());
}
public function testSaveAndGetMessages(): void {