summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2022-03-14 13:58:52 +0100
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2022-03-21 13:03:13 +0100
commitf4148820ffcbbbba9bdf9f905497ca44a023c769 (patch)
tree3cca80c7cc21eec5a5d112ff631b13f2c94ac0db /apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
parent73a7ced1fd8cb5c7a0ee74a15890800742d1e455 (diff)
downloadnextcloud-server-f4148820ffcbbbba9bdf9f905497ca44a023c769.tar.gz
nextcloud-server-f4148820ffcbbbba9bdf9f905497ca44a023c769.zip
Add JS Unit tests for new 'sendEventRemindersToSharedGroupMembers' setting.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
Diffstat (limited to 'apps/dav/tests/unit/Settings/CalDAVSettingsTest.php')
-rw-r--r--apps/dav/tests/unit/Settings/CalDAVSettingsTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
index 3384ead652f..4b1fad717cb 100644
--- a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
+++ b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
@@ -62,9 +62,10 @@ class CalDAVSettingsTest extends TestCase {
['dav', 'sendInvitations', 'yes'],
['dav', 'generateBirthdayCalendar', 'yes'],
['dav', 'sendEventReminders', 'yes'],
+ ['dav', 'sendEventRemindersToSharedGroupMembers', 'yes'],
['dav', 'sendEventRemindersPush', 'no'],
)
- ->will($this->onConsecutiveCalls('yes', 'no', 'yes', 'yes'));
+ ->will($this->onConsecutiveCalls('yes', 'no', 'yes', 'yes', 'yes'));
$this->urlGenerator
->expects($this->once())
->method('linkToDocs')
@@ -76,6 +77,7 @@ class CalDAVSettingsTest extends TestCase {
['sendInvitations', true],
['generateBirthdayCalendar', false],
['sendEventReminders', true],
+ ['sendEventRemindersToSharedGroupMembers', true],
['sendEventRemindersPush', true],
);
$result = $this->settings->getForm();