diff --git a/core/src/tests/components/AppMenu.spec.ts b/core/src/tests/components/AppMenu.spec.ts index bfacb5538b1..94fdcb79a73 100644 --- a/core/src/tests/components/AppMenu.spec.ts +++ b/core/src/tests/components/AppMenu.spec.ts @@ -39,7 +39,7 @@ vi.mock('@nextcloud/event-bus', () => eventBus) // Stub @nextcloud/router so we don't need a webroot for the moreApps URL. vi.mock('@nextcloud/router', () => ({ generateUrl: (path: string) => path, - generateFilePath: (app: string, type: string, file: string) => `/apps/${app}/${type}/${file}`, + imagePath: (app: string, file: string) => `/${app}/img/${file}`, })) // Build a minimal nav entry that satisfies INavigationEntry.