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

test(A03): seed remaining immutable-history fixture via transaction

davoodmehraban89 committed Oct 19, 2026 at 11:33 UTC 73d8ff97c8f09780393daa8b220161b1474f6941
1 file changed +1 -1
tests/a03-direct-append-only-protection.test.mjs
+1 -1
@@ -61,7 +61,7 @@ test('A03: transaction clear cannot erase either append-only history store or co
61 ? { commandKey: 'c1:retained-audit', eventType: 'journal_posted' }
62 : { idempotencyKey: 'c1:retained-correction', sourceId: 'sale-1' })
63 };
64 - await StorageService.put(store, historical);
64 + await seedHistory(store, historical);
65 const original = structuredClone(await StorageService.get(store, historical.id));
66 const sentinel = 'must-rollback-' + store;
67 await assert.rejects(