summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-07-25 13:30:43 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-08-02 15:31:32 +0200
commit4df15b0e46cd80fef59fa477032b7d3a723a7543 (patch)
treeceb5dfc85d476717c0b5159886aed69f4226aae7 /apps
parentd190d4f328a4bf4f9ad235f8901a5971d8d7bf84 (diff)
downloadnextcloud-server-4df15b0e46cd80fef59fa477032b7d3a723a7543.tar.gz
nextcloud-server-4df15b0e46cd80fef59fa477032b7d3a723a7543.zip
test: Add regression test for opening shared folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/src/actions/openInFilesAction.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/actions/openInFilesAction.spec.ts b/apps/files_sharing/src/actions/openInFilesAction.spec.ts
index 96b96145f31..6f80078d63e 100644
--- a/apps/files_sharing/src/actions/openInFilesAction.spec.ts
+++ b/apps/files_sharing/src/actions/openInFilesAction.spec.ts
@@ -89,6 +89,6 @@ describe('Open in files action execute tests', () => {
// Silent action
expect(exec).toBe(null)
expect(goToRouteMock).toBeCalledTimes(1)
- expect(goToRouteMock).toBeCalledWith(null, { fileid: 1, view: 'files' }, { dir: '/Foo', openfile: 'true' })
+ expect(goToRouteMock).toBeCalledWith(null, { fileid: '1', view: 'files' }, { dir: '/Foo', openfile: 'true' })
})
})