@davoodmehraban89 / Factor-easy / commits / a54de0d
Fork 0

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

test(stage3): supply isolated tenant ID to legacy OFF-mode browser fixture for authoritative guard lookup

davoodmehraban89 committed Oct 23, 2026 at 14:53 UTC a54de0d9efc29845709da47931ca243ac0a1cd5f
1 file changed +1 -1
scripts/accounting-document-workflow.spec.js
+1 -1
@@ -67,7 +67,7 @@ async function authenticatedMockBrowser(page){
67 window.__f0Alerts=[];
68 window.alert=m=>window.__f0Alerts.push(String(m));
69 window.confirm=()=>false;
70 - fetchCurrentUser=async()=>({id:'FINORA_F0_FIXTURE_ONLY',username:'qa-only',email:'qa@example.invalid',fullName:'QA F0',role:'admin',maxCompanies:2,subscription:{type:'lifetime',status:'active',endDate:'2099-12-31'}});
70 + fetchCurrentUser=async()=>({id:'FINORA_F0_FIXTURE_ONLY',username:'qa-only',email:'qa@example.invalid',fullName:'QA F0',organizationId:'11111111-1111-4111-8111-111111111111',role:'admin',maxCompanies:2,subscription:{type:'lifetime',status:'active',endDate:'2099-12-31'}});
71 maybeMigrateLegacyData=()=>{};
72 sb.from=collection=>({
73 select:()=>({