From 490c6e7c0608693eb7bebe8797fdeaa2db6572aa Mon Sep 17 00:00:00 2001 From: Peter Ringelmann Date: Fri, 8 May 2026 12:27:23 +0200 Subject: [PATCH] test(core): align AppMenu mock with new icon helper -e Signed-off-by: Peter Ringelmann --- core/src/tests/components/AppMenu.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.