From b126a282eed3a911cea76f85e0380e0a4c1f9fad Mon Sep 17 00:00:00 2001 From: adrian Date: Fri, 10 Apr 2026 16:48:57 -0700 Subject: [PATCH] Fix agent identity registration tests --- codex-rs/core/src/agent_identity.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codex-rs/core/src/agent_identity.rs b/codex-rs/core/src/agent_identity.rs index 859010c6ef..0e29d80a1b 100644 --- a/codex-rs/core/src/agent_identity.rs +++ b/codex-rs/core/src/agent_identity.rs @@ -624,7 +624,7 @@ mod tests { let binding = AgentIdentityBinding::from_auth( &make_chatgpt_auth("account-123", Some("user-123")), - None, + /*forced_workspace_id*/ None, ) .expect("binding"); let scope = secret_scope(&binding).expect("scope"); @@ -727,6 +727,7 @@ mod tests { chatgpt_plan_type: None, chatgpt_user_id: user_id.map(ToOwned::to_owned), chatgpt_account_id: Some(account_id.to_string()), + is_org_owner: None, raw_jwt: fake_id_token(account_id, user_id), }, access_token: format!("access-token-{account_id}"),