Skip to content

Commit

Permalink
fixup! fix!: remove mail transport php-mail
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Dec 17, 2024
1 parent 8d1dd79 commit d72fb07
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/Unit/SMTP/SmtpClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d72fb07

Please sign in to comment.