Stabilize wallet today usage test timing

This commit is contained in:
RWDai
2026-05-19 10:23:32 +08:00
parent 2aab1ea97b
commit b05264ff74

View File

@@ -4133,7 +4133,7 @@ async fn gateway_handles_wallet_balance_locally_without_proxying_upstream() {
#[tokio::test]
async fn gateway_handles_wallet_today_cost_locally_without_proxying_upstream() {
let auth_now = Utc::now();
let usage_now = auth_now - chrono::Duration::minutes(30);
let usage_now = auth_now;
let user = sample_auth_user(auth_now);
let access_token = build_test_auth_token(
"access",