diff options
3 files changed, 4 insertions, 1 deletions
diff --git a/tests/Integration/IMAP/MessageMapperTest.php b/tests/Integration/IMAP/MessageMapperTest.php index d537bcaa1..a4a01bcc2 100644 --- a/tests/Integration/IMAP/MessageMapperTest.php +++ b/tests/Integration/IMAP/MessageMapperTest.php @@ -45,12 +45,12 @@ class MessageMapperTest extends TestCase { public function tearDown(): void { $this->resetImapAccount(); + $this->disconnectImapAccount(); } public function testTagging(): void { // First, set up account and retrieve sync token $this->resetImapAccount(); - $account = $this->createTestAccount(); /** @var SyncService $syncService */ $syncService = OC::$server->get(SyncService::class); diff --git a/tests/Integration/Service/AntiSpamServiceIntegrationTest.php b/tests/Integration/Service/AntiSpamServiceIntegrationTest.php index 0f5d14a93..8750cd7f3 100644 --- a/tests/Integration/Service/AntiSpamServiceIntegrationTest.php +++ b/tests/Integration/Service/AntiSpamServiceIntegrationTest.php @@ -52,12 +52,14 @@ class AntiSpamServiceIntegrationTest extends TestCase { public function tearDown(): void { $this->resetImapAccount(); + $this->disconnectImapAccount(); $this->service->deleteConfig(); } public function testFlagJunkWithSpamReportActive(): void { // First, set up account and retrieve sync token $this->resetImapAccount(); + $this->disconnectImapAccount(); $account = $this->createTestAccount(); /** @var SyncService $syncService */ diff --git a/tests/Integration/Service/MailTransmissionIntegrationTest.php b/tests/Integration/Service/MailTransmissionIntegrationTest.php index 8bf24820b..82ef71744 100644 --- a/tests/Integration/Service/MailTransmissionIntegrationTest.php +++ b/tests/Integration/Service/MailTransmissionIntegrationTest.php @@ -71,6 +71,7 @@ class MailTransmissionIntegrationTest extends TestCase { parent::setUp(); $this->resetImapAccount(); + $this->disconnectImapAccount(); $this->user = $this->createTestUser(); /** @var ICrypto $crypo */ |