From d9c8a93f7fcdde692df94e251e12ccc2a9bc2a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81ctor=20Falco=CC=81n?= Date: Thu, 18 Jun 2026 16:03:57 +0200 Subject: [PATCH] test: provide features prop to connections page test mock The page now reads features.manageBankAccounts; the usePage mock was missing the features shared prop. --- resources/js/pages/settings/connections.test.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/js/pages/settings/connections.test.tsx b/resources/js/pages/settings/connections.test.tsx index ba1b7b0f..df3e278e 100644 --- a/resources/js/pages/settings/connections.test.tsx +++ b/resources/js/pages/settings/connections.test.tsx @@ -25,6 +25,12 @@ vi.mock('@inertiajs/react', () => ({ }, flash: {}, subscriptionsEnabled: false, + features: { + cashflow: true, + calculateBalancesOnImport: false, + transactionAnalysis: false, + manageBankAccounts: true, + }, }, }), usePoll: () => ({