سامانه صدور فاکتور و حسابداری
test(B03-R3): preserve recovery and cache contracts in scripts/login-connectivity-check.mjs
davoodmehraban89 committed
Nov 24, 2026 at 17:06 UTC
7db680252ae5c409a4a2c3d9946977146281a707
1 file changed
+1
-1
scripts/login-connectivity-check.mjs
+1
-1
@@ -10,7 +10,7 @@ assert(html.includes('js/login-connectivity.js?v=20261110-login-bootstrap-v6'),'
10
assert(html.includes('js/core.js?v=20261110-account-read-v3'),'Production login controls must use new cache version');
11
assert(html.indexOf('<script src="js/login-connectivity.js?v=20261110-login-bootstrap-v6"')<html.indexOf('<script src="js/core.js?v=20261110-account-read-v3"'),'Connectivity handler script must execute before core (not just preload)');
12
const bootstrap=fs.readFileSync('js/bootstrap.js','utf8');
13
-const conflictVersion='20261124-conflict-review-v1';
13
+const conflictVersion='20261124-readonly-recovery-v1';
14
assert(html.includes('<script src="js/bootstrap.js?v='+conflictVersion+'"'),'Parallel bootstrap must use the current conflict-review cache version');
15
assert(html.includes('<script src="js/sync.js?v='+conflictVersion+'"'),'Sync runtime must use the current conflict-review cache version');
16
assert(bootstrap.includes('"js/organization-rbac.js?v='+conflictVersion+'"'),'Organization adapter must use the same conflict-review cache version');