summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/actions/acceptShareAction.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/actions/acceptShareAction.spec.ts')
-rw-r--r--apps/files_sharing/src/actions/acceptShareAction.spec.ts7
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', () => {