summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-05 13:55:36 +0200
committerJoas Schilling <coding@schilljs.com>2017-09-05 16:04:29 +0200
commitc0692abee741ab14b84ff751c33f94a76dfb55a7 (patch)
tree2cb25a84ef9564d333ef692e8672a3538d4cb06f /tests
parent64283598205b06a7aa2b2741f9efd9c324e7a796 (diff)
downloadnextcloud-server-c0692abee741ab14b84ff751c33f94a76dfb55a7.tar.gz
nextcloud-server-c0692abee741ab14b84ff751c33f94a76dfb55a7.zip
Fix tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Mailer/NewUserMailHelperTest.php4
-rw-r--r--tests/lib/Mail/EMailTemplateTest.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/Settings/Mailer/NewUserMailHelperTest.php b/tests/Settings/Mailer/NewUserMailHelperTest.php
index 40ba9ee1c21..033847e49f6 100644
--- a/tests/Settings/Mailer/NewUserMailHelperTest.php
+++ b/tests/Settings/Mailer/NewUserMailHelperTest.php
@@ -66,7 +66,9 @@ class NewUserMailHelperTest extends TestCase {
$template = new EMailTemplate(
$this->defaults,
$this->urlGenerator,
- $this->l10n
+ $this->l10n,
+ 'test.TestTemplate',
+ []
);
$this->mailer->method('createEMailTemplate')
->will($this->returnValue($template));
diff --git a/tests/lib/Mail/EMailTemplateTest.php b/tests/lib/Mail/EMailTemplateTest.php
index 08af56453ab..b2d08f7e81b 100644
--- a/tests/lib/Mail/EMailTemplateTest.php
+++ b/tests/lib/Mail/EMailTemplateTest.php
@@ -49,7 +49,9 @@ class EMailTemplateTest extends TestCase {
$this->emailTemplate = new EMailTemplate(
$this->defaults,
$this->urlGenerator,
- $this->l10n
+ $this->l10n,
+ 'test.TestTemplate',
+ []
);
}