diff options
Diffstat (limited to 'apps/dav/src/views/CalDavSettings.spec.js')
-rw-r--r-- | apps/dav/src/views/CalDavSettings.spec.js | 5 |
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 |