diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-18 10:59:14 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-23 14:03:50 +0200 |
commit | b4e71ad0fb282fbc9981924b9783ae6659a9e4fe (patch) | |
tree | ac0a921804b87d6c5707dc87c3041938aec505a6 /apps/files_sharing/src/actions/acceptShareAction.spec.ts | |
parent | c9a197e6dd699942b0cf36504ff1fa5f5ef26893 (diff) | |
download | nextcloud-server-b4e71ad0fb282fbc9981924b9783ae6659a9e4fe.tar.gz nextcloud-server-b4e71ad0fb282fbc9981924b9783ae6659a9e4fe.zip |
chore: use Navigation from `@nextcloud/files`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/actions/acceptShareAction.spec.ts')
-rw-r--r-- | apps/files_sharing/src/actions/acceptShareAction.spec.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_sharing/src/actions/acceptShareAction.spec.ts b/apps/files_sharing/src/actions/acceptShareAction.spec.ts index acef697b1aa..7ad8a42a1a6 100644 --- a/apps/files_sharing/src/actions/acceptShareAction.spec.ts +++ b/apps/files_sharing/src/actions/acceptShareAction.spec.ts @@ -21,22 +21,21 @@ */ import { action } from './acceptShareAction' import { expect } from '@jest/globals' -import { File, Permission } from '@nextcloud/files' +import { File, Permission, View } from '@nextcloud/files' import { FileAction } from '../../../files/src/services/FileAction' import * as eventBus from '@nextcloud/event-bus' import axios from '@nextcloud/axios' -import type { Navigation } from '../../../files/src/services/Navigation' import '../main' const view = { id: 'files', name: 'Files', -} as Navigation +} as View const pendingShareView = { id: 'pendingshares', name: 'Pending shares', -} as Navigation +} as View describe('Accept share action conditions tests', () => { test('Default values', () => { |