فینورا پرو - سامانه جامع حسابداری و صدور فاکتور

test(A03): seed historical audits through validated backup import

davoodmehraban89 committed Oct 20, 2026 at 08:42 UTC 7e0087ea3819b5cf222c976815aa4308b2d03077
1 file changed -1
tests/a03-company-scope-immutable-stores.test.mjs
-1
@@ -8,7 +8,6 @@ const seedHistory = (store, row) => store === 'audit_events'
8 ? StorageService.importAll({ app: 'Factor-easyPro', version: 6, data: { audit_events: [row] } })
9 : StorageService.transaction(store, tx => tx.put(store, row));
10 import { DataScope } from '../src/core/DataScope.js';
11 -import { Auth } from '../src/core/Auth.js';
11 import { CompanyService } from '../src/core/CompanyService.js';
12
13 test('A03: common scoped reads do not leak another company audit history or corrections', async () => {