aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 17:06:28 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 17:08:21 +0100
commitc79a6b3f62948075f7ce67a0294b0410fd61af3d (patch)
treed67ee83d8c0fd892ce722b40b3f859d76ff20ebe /apps/settings
parent70e2217d1c23dbe7062c188091c0d9f10a5bd84b (diff)
downloadnextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.tar.gz
nextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.zip
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/tests/Mailer/NewUserMailHelperTest.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
index 2a9c1ee58ec..eddf6fa3811 100644
--- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php
+++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php
@@ -55,6 +55,8 @@ class NewUserMailHelperTest extends TestCase {
private $urlGenerator;
/** @var IL10N|\PHPUnit\Framework\MockObject\MockObject */
private $l10n;
+ /** @var IFactory|\PHPUnit\Framework\MockObject\MockObject */
+ private $l10nFactory;
/** @var IMailer|\PHPUnit\Framework\MockObject\MockObject */
private $mailer;
/** @var ISecureRandom|\PHPUnit\Framework\MockObject\MockObject */
@@ -367,7 +369,7 @@ Set your password: https://example.com/resetPassword/MySuperLongSecureRandomToke
Install Client: https://nextcloud.com/install/#install-clients
---
+--
TestCloud
This is an automatically sent email, please do not reply.
EOF;
@@ -601,7 +603,7 @@ Go to TestCloud: https://example.com/
Install Client: https://nextcloud.com/install/#install-clients
---
+--
TestCloud
This is an automatically sent email, please do not reply.
EOF;
@@ -822,7 +824,7 @@ Go to TestCloud: https://example.com/
Install Client: https://nextcloud.com/install/#install-clients
---
+--
TestCloud
This is an automatically sent email, please do not reply.
EOF;