Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-03-31 15:02:39 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-16 10:04:13 +0300
commitbb4dedb0156727ebd88a3f922fedc78436d7b701 (patch)
treee1975ad11d4d3903c6c1520f93a1a398f80ac1b6 /apps/settings/tests
parent078ac97939747eec246ed105830d4643b81d994c (diff)
Provide the proper language to the mailer
Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r--apps/settings/tests/Mailer/NewUserMailHelperTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
index c32bb601f31..e2ceec67d22 100644
--- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php
+++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
@@ -78,7 +78,7 @@ class NewUserMailHelperTest extends TestCase {
$template = new EMailTemplate(
$this->defaults,
$this->urlGenerator,
- $this->l10n,
+ $this->l10nFactory,
'test.TestTemplate',
[]
);
@@ -377,8 +377,8 @@ Set your password: https://example.com/resetPassword/MySuperLongSecureRandomToke
Install Client: https://nextcloud.com/install/#install-clients
---
-TestCloud -
+--
+TestCloud -
This is an automatically sent email, please do not reply.
EOF;