@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / e0090d1
Fork 0

سامانه صدور فاکتور و حسابداری

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 4, 01:45 UTC

test: assert generic sync carries explicit active tenant

davoodmehraban89 committed Nov 17, 2026 at 14:00 UTC e0090d14862acffb2bc1458482c93d7aabcb2d42
1 file changed +1
scripts/journal-rpc-adapter.test.mjs
+1
@@ -240,4 +240,5 @@ test('sync hydration reads database row version required by journal CAS operatio
240 const syncSource=await readFile(new URL('../js/sync.js',import.meta.url),'utf8');
241 assert.match(syncSource,/select\('collection,id,data,version'\)/);
242 assert.match(syncSource,/obj\._serverVersion=Number\(r\.version\)/);
243 + assert.match(syncSource,/p_organization_id:currentUser\.organizationId\|\|null/);
244 });