diff --git a/tests/Unit/SMTP/SmtpClientFactoryTest.php b/tests/Unit/SMTP/SmtpClientFactoryTest.php index 456cb0c98f..9e679f068d 100644 --- a/tests/Unit/SMTP/SmtpClientFactoryTest.php +++ b/tests/Unit/SMTP/SmtpClientFactoryTest.php @@ -43,19 +43,6 @@ protected function setUp(): void { $this->factory = new SmtpClientFactory($this->config, $this->crypto, $this->hostNameFactory); } - public function testPhpMailTransport() { - $account = $this->createMock(Account::class); - $this->config->expects($this->once()) - ->method('getSystemValue') - ->with('app.mail.transport', 'smtp') - ->willReturn('php-mail'); - - $transport = $this->factory->create($account); - - $this->assertNotNull($transport); - $this->assertInstanceOf(Horde_Mail_Transport_Mail::class, $transport); - } - public function testSmtpTransport() { $mailAccount = new MailAccount([ 'smtpHost' => 'smtp.domain.tld',