summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV/Reminder
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-10-13 11:02:26 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-10-13 20:33:29 +0200
commit2148c448cc0f5ab891e649b0a2a4d32f1075012a (patch)
treedb10150894349c6ed8c97e3833052093ad37553b /apps/dav/tests/unit/CalDAV/Reminder
parentc6166c0a374257b785b90ccb15c90ee30e9ce192 (diff)
downloadnextcloud-server-2148c448cc0f5ab891e649b0a2a4d32f1075012a.tar.gz
nextcloud-server-2148c448cc0f5ab891e649b0a2a4d32f1075012a.zip
Fix default language detection for calendar notifications
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/Reminder')
-rw-r--r--apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php
index 9e96a1f3bec..0352827aa5c 100644
--- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php
+++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/EmailProviderTest.php
@@ -104,7 +104,7 @@ class EmailProviderTest extends AbstractNotificationProviderTest {
]);
$this->l10nFactory
- ->method('findLanguage')
+ ->method('findGenericLanguage')
->willReturn('en');
$this->l10nFactory
@@ -214,7 +214,7 @@ class EmailProviderTest extends AbstractNotificationProviderTest {
]);
$this->l10nFactory
- ->method('findLanguage')
+ ->method('findGenericLanguage')
->willReturn('en');
$this->l10nFactory