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 committed by Joas Schilling
parent 6428359820
commit c0692abee7
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
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',
[]
);
}