This commit is contained in:
2026-08-13 14:55:59 +08:00
parent da20613aa0
commit 33b47f4d2e
14 changed files with 22 additions and 22 deletions
@@ -58,7 +58,7 @@ describe('FinanceCustomerAccountsView delivery', () => {
it('restores account summary and ledger after opening the detail URL directly', async () => {
const pinia = createPinia(); setActivePinia(pinia)
const auth = useAuthStore(); auth.token = 'token'; auth.permissions = ['platform:finance:account:view']
const auth = useAuthStore(); auth.token = 'token'; auth.permissions = ['platform:finance:customer-account:list']
useAccessPreviewStore().initializeAfterLogin()
const router = createRouter({ history: createMemoryHistory(), routes: [
{ path: '/finance/customer-accounts', name: 'finance-customer-accounts', component: FinanceCustomerAccountsView },