summaryrefslogtreecommitdiffstats
path: root/tests/lib/Mail/MailerTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-02 07:50:35 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-05 09:06:51 +0100
commit0c500e460ffeb41ca5100aa946f8f308b83a4040 (patch)
tree2b72c4f12e36462ede122ac17aa33870893b413f /tests/lib/Mail/MailerTest.php
parent0cef93829998fd6d5879f91fb34639a5a193365c (diff)
downloadnextcloud-server-0c500e460ffeb41ca5100aa946f8f308b83a4040.tar.gz
nextcloud-server-0c500e460ffeb41ca5100aa946f8f308b83a4040.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Mail/MailerTest.php')
-rw-r--r--tests/lib/Mail/MailerTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/Mail/MailerTest.php b/tests/lib/Mail/MailerTest.php
index f647b966f1f..b0955a5d2fe 100644
--- a/tests/lib/Mail/MailerTest.php
+++ b/tests/lib/Mail/MailerTest.php
@@ -133,6 +133,10 @@ class MailerTest extends TestCase {
}
public function testCreateEMailTemplate() {
+ $this->config->method('getSystemValue')
+ ->with('mail_template_class', '')
+ ->willReturnArgument(1);
+
$this->assertSame(EMailTemplate::class, get_class($this->mailer->createEMailTemplate('tests.MailerTest')));
}
}