diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-09-29 11:10:51 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-10-17 11:17:35 +0200 |
commit | 4b55594f55ce4146ed93c50f71e6204a57d29612 (patch) | |
tree | 6737b2a520fbe43da3f7f73bdd2ee8adfabd0be0 /apps/files/src/actions/openInFilesAction.spec.ts | |
parent | ad7d20e017253ad871b7bcd7582ac9ccbcce9843 (diff) | |
download | nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.tar.gz nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.zip |
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/actions/openInFilesAction.spec.ts')
-rw-r--r-- | apps/files/src/actions/openInFilesAction.spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/actions/openInFilesAction.spec.ts b/apps/files/src/actions/openInFilesAction.spec.ts index 866880670a3..c400a701d37 100644 --- a/apps/files/src/actions/openInFilesAction.spec.ts +++ b/apps/files/src/actions/openInFilesAction.spec.ts @@ -76,7 +76,7 @@ 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' }, { fileid: 1, dir: '/Foo' }) + expect(goToRouteMock).toBeCalledWith(null, { fileid: 1, view: 'files' }, { dir: '/Foo' }) }) test('Open in files with folder', async () => { @@ -96,6 +96,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' }, { fileid: 1, dir: '/Foo/Bar' }) + expect(goToRouteMock).toBeCalledWith(null, { fileid: 1, view: 'files' }, { dir: '/Foo/Bar' }) }) }) |