Fix tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-09-05 13:55:36 +02:00
parent dea011243e
commit 4e3c39c1d1
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
2 changed files with 6 additions and 2 deletions

View File

@ -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));

View File

@ -49,7 +49,9 @@ class EMailTemplateTest extends TestCase {
$this->emailTemplate = new EMailTemplate(
$this->defaults,
$this->urlGenerator,
$this->l10n
$this->l10n,
'test.TestTemplate',
[]
);
}