aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/src/views/CalDavSettings.spec.js
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2022-03-18 17:40:36 +0100
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-03-18 16:52:30 +0000
commit9c07e47c78781a66587313e0c70d5c37cfe81703 (patch)
treed60ee14bb8aa80284bf45d3b42a69d92f5ad8c0d /apps/dav/src/views/CalDavSettings.spec.js
parentb0fbcccfe66474d79586001ce9509d346919ae74 (diff)
downloadnextcloud-server-9c07e47c78781a66587313e0c70d5c37cfe81703.tar.gz
nextcloud-server-9c07e47c78781a66587313e0c70d5c37cfe81703.zip
Fix link to calendar user docs in groupware settings
Closes #31617 Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/dav/src/views/CalDavSettings.spec.js')
-rw-r--r--apps/dav/src/views/CalDavSettings.spec.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/src/views/CalDavSettings.spec.js b/apps/dav/src/views/CalDavSettings.spec.js
index 0dc4c44537a..951a2802182 100644
--- a/apps/dav/src/views/CalDavSettings.spec.js
+++ b/apps/dav/src/views/CalDavSettings.spec.js
@@ -13,6 +13,11 @@ jest.mock('@nextcloud/router', () => {
},
}
})
+jest.mock('@nextcloud/initial-state', () => {
+ return {
+ loadState: jest.fn(() => 'https://docs.nextcloud.com/server/23/go.php?to=user-sync-calendars'),
+ }
+})
describe('CalDavSettings', () => {
const originalOC = global.OC