summaryrefslogtreecommitdiffstats
path: root/tests/lib/mail
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-10-08 16:46:42 +0200
committerLukas Reschke <lukas@owncloud.com>2015-10-08 16:48:18 +0200
commit18394205c2149ee944871eb684bd0f8e4dbe262c (patch)
tree2712a50bfeec1477ff9a3d4c0a946b19721be838 /tests/lib/mail
parent12277869303d3c0183acc9868ca4d6bd591800fd (diff)
downloadnextcloud-server-18394205c2149ee944871eb684bd0f8e4dbe262c.tar.gz
nextcloud-server-18394205c2149ee944871eb684bd0f8e4dbe262c.zip
Setup sendmail transport
Replaces https://github.com/owncloud/core/pull/19047 and fixes https://github.com/owncloud/enterprise/issues/854 and https://github.com/owncloud/core/issues/19110
Diffstat (limited to 'tests/lib/mail')
-rw-r--r--tests/lib/mail/mailer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/mail/mailer.php b/tests/lib/mail/mailer.php
index 21565f9ffb5..8023cda820e 100644
--- a/tests/lib/mail/mailer.php
+++ b/tests/lib/mail/mailer.php
@@ -77,7 +77,7 @@ class MailerTest extends TestCase {
->method('getSystemValue')
->will($this->returnValue('sendmail'));
- $this->assertInstanceOf('\Swift_SendmailTransport', self::invokePrivate($this->mailer, 'getInstance'));
+ $this->assertInstanceOf('\Swift_Mailer', self::invokePrivate($this->mailer, 'getInstance'));
}
public function testCreateMessage() {