summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/actions/restoreShareAction.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/actions/restoreShareAction.spec.ts')
-rw-r--r--apps/files_sharing/src/actions/restoreShareAction.spec.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files_sharing/src/actions/restoreShareAction.spec.ts b/apps/files_sharing/src/actions/restoreShareAction.spec.ts
index 6b87d0549cf..2c37dd83857 100644
--- a/apps/files_sharing/src/actions/restoreShareAction.spec.ts
+++ b/apps/files_sharing/src/actions/restoreShareAction.spec.ts
@@ -21,22 +21,21 @@
*/
import { action } from './restoreShareAction'
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 deletedShareView = {
id: 'deletedshares',
name: 'Deleted shares',
-} as Navigation
+} as View
describe('Restore share action conditions tests', () => {
test('Default values', () => {