Skip to content

Commit fd775c9

Browse files
juliusknorrbackportbot[bot]
authored andcommitted
Set the user language when adding the footer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent b2cfd43 commit fd775c9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/settings/tests/Mailer/NewUserMailHelperTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
139139
$this->timeFactory
140140
->expects($this->once())
141141
->method('getTime')
142-
->willReturn('12345');
142+
->willReturn(12345);
143143
/** @var IUser|\PHPUnit\Framework\MockObject\MockObject $user */
144144
$user = $this->createMock(IUser::class);
145145
$user
@@ -371,6 +371,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
371371
372372
Your username is: john
373373
374+
374375
Set your password: https://example.com/resetPassword/MySuperLongSecureRandomToken
375376
Install Client: https://nextcloud.com/install/#install-clients
376377

0 commit comments

Comments
 (0)