Set the user language when adding the footer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
82947263b9
commit
068e3b2c1e
|
@ -159,7 +159,7 @@ class NewUserMailHelper {
|
|||
);
|
||||
}
|
||||
|
||||
$emailTemplate->addFooter();
|
||||
$emailTemplate->addFooter('', $lang);
|
||||
|
||||
return $emailTemplate;
|
||||
}
|
||||
|
|
|
@ -139,7 +139,7 @@ class NewUserMailHelperTest extends TestCase {
|
|||
$this->timeFactory
|
||||
->expects($this->once())
|
||||
->method('getTime')
|
||||
->willReturn('12345');
|
||||
->willReturn(12345);
|
||||
/** @var IUser|\PHPUnit\Framework\MockObject\MockObject $user */
|
||||
$user = $this->createMock(IUser::class);
|
||||
$user
|
||||
|
@ -371,6 +371,7 @@ Welcome to your TestCloud account, you can add, protect, and share your data.
|
|||
|
||||
Your username is: john
|
||||
|
||||
|
||||
Set your password: https://example.com/resetPassword/MySuperLongSecureRandomToken
|
||||
Install Client: https://nextcloud.com/install/#install-clients
|
||||
|
||||
|
|
Loading…
Reference in New Issue