mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
[codex-core] guard invalidated token logout [ci changed_files]
This commit is contained in:
@@ -446,7 +446,7 @@ async fn external_auth_refreshes_on_unauthorized() -> Result<()> {
|
||||
responses::ev_completed("resp-turn"),
|
||||
]);
|
||||
let unauthorized = ResponseTemplate::new(401).set_body_json(json!({
|
||||
"error": { "message": "unauthorized" }
|
||||
"error": { "message": "unauthorized", "type": "token_invalidated" }
|
||||
}));
|
||||
let responses_mock = responses::mount_response_sequence(
|
||||
&mock_server,
|
||||
|
||||
Reference in New Issue
Block a user