优化
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user