mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
tests: mock usage limit with RFC reset timestamp
This commit is contained in:
@@ -915,7 +915,7 @@ async fn usage_limit_error_emits_rate_limit_event() -> anyhow::Result<()> {
|
||||
"error": {
|
||||
"type": "usage_limit_reached",
|
||||
"message": "limit reached",
|
||||
"resets_at": 1704067242,
|
||||
"resets_at": "2024-01-01T00:00:42Z",
|
||||
"plan_type": "pro"
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user