Skip to content

Commit 6e9e642

Browse files
committed
test(core): align AppMenu mock with new icon helper
-e Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
1 parent 1ccc0c4 commit 6e9e642

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/tests/components/AppMenu.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ vi.mock('@nextcloud/event-bus', () => eventBus)
3939
// Stub @nextcloud/router so we don't need a webroot for the moreApps URL.
4040
vi.mock('@nextcloud/router', () => ({
4141
generateUrl: (path: string) => path,
42-
generateFilePath: (app: string, type: string, file: string) => `/apps/${app}/${type}/${file}`,
42+
imagePath: (app: string, file: string) => `/${app}/img/${file}`,
4343
}))
4444

4545
// Build a minimal nav entry that satisfies INavigationEntry.

0 commit comments

Comments
 (0)